[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] vif-bridge question



> in /etc/xen/scripts/vif-bridge there is this snippet of code:
> 
> if [ ${ip} ] ; then
> 
>     # If we've been given a list of IP networks, allow pkts with these
> src addrs.
>     for addr in ${ip} ; do
>         iptables ${iptcmd} FORWARD -m physdev --physdev-in ${vif} -s
> ${addr} -j ACCEPT
>     done
> 
> 
> The ip list is a command line argument.  My question where is the domain
> config file can I specify the IP's that will be sent to vif-bridge?  I
> tried:
> 
> ip="1.1.1.1/32 1.1.1.2/32" and other variations but I just get illegal
> kernel boot option.

As I recall, it's looking for a comma separated list of IP addrs
ip="1.2.3.4,2.3.4.5"

I don't think the 'antispoof' stuff in vif-bridge is widely used
as most people that want to do firewalling roll their own.

I'd be interested to hear how it works for you. In particular,
you might need to make the rules more lenient to allow some DHCP
servers to work.

Ian


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.