Thread: multiple network interfaces and IP addresses
we have system has 4 ethernet ports
eth0 , eth2 connect comcast connection.
eth0 connect via firewall , has ip of 192.168.0.1 gateway/firewall device 192.168.0.253
eth1 connected directly comcast smc modem ip of 192.168.253.10 gateway 192.168.0.254.
eth1 connected cbeyond directly ip address 192.168.252.1 gateway of 192.168.252.254
if comcast down route traffic on 192.168.0.x network via 192.168.252.1/192.168.252.254 gateway firewall. change on not need automatic since able server via cbeyond.
should have in interfaces, routes , other files ?
how setup os firewall on eth1 , eth2 or should use firewall eth ports ?
when using web browser how can tell eth use ?
cycorp
you /etc/network/interfaces file should this:
that takes care of static ip setup , web browsing. should set firewall on internet-facing network interfacescode:auto eth0 iface eth0 inet static address 192.168.0.1 netmask 255.255.255.0 broadcast 192.168.0.255 network 192.168.0.0 gateway 192.168.0.253 dns-name-servers [your isp dns] auto eth1 iface eth1 inet static address 192.168.253.10 netmask 255.255.0.0 broadcast 192.168.255.255 network 192.168.0.0 auto eth2 iface eth2 inet static address 192.168.252.1 netmask 255.255.255.0 broadcast 192.168.252.255 route add default gw 192.168.0.253 dev eth0
Forum The Ubuntu Forum Community Ubuntu Official Flavours Support Networking & Wireless [ubuntu] multiple network interfaces and IP addresses
Ubuntu
Comments
Post a Comment