/etc/network/interfaces - Debian7 + XCP-Xapi
When I add all interfaces, the internet does not work....
eth0 = internet
eth1 = lan
------------------
auto eth0
iface eth0 inet static
address 192.168.1.254
netmask 255.255.255.0
broadcast 192.168.1.255
auto eth1
iface eth1 inet static
address 192.168.0.100
netmask 255.255.255.0
broadcast 192.168.0.255
gateway 192.168.0.254
auto xenbr0
iface xenbr0 inet static
address 192.168.0.101
bridge_ports eth1
netmask 255.255.255.0
broadcast 192.168.0.255
auto xenbr1
iface xenbr1 inet static
address 192.168.0.102
bridge_ports eth1
netmask 255.255.255.0
broadcast 192.168.0.255
|