Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # This file describes the network interfaces available on your system
- # and how to activate them. For more information, see interfaces(5).
- # The loopback network interface
- auto lo
- iface lo inet loopback
- # The primary network interface
- auto eth0
- iface eth0 inet dhcp
- auto eth0:1
- iface eth0:1 inet static
- address 10.0.0.211
- netmask 255.255.0.0
- auto eth1
- iface eth1 inet static
- address 10.131.192.13
- netmask 255.255.255.0
- up /sbin/ip rule add from 10.131.192.13 lookup 20
- up /sbin/ip rule add from 10.131.192.13 to 10.131.192.0/24 lookup main
- up /sbin/ip route add default via 10.131.192.13 table 20
- auto eth1:0
- iface eth1:0 inet static
- address 10.131.192.12
- netmask 255.255.255.0
- up /sbin/ip rule add from 10.131.192.12 lookup 20
- up /sbin/ip rule add from 10.131.192.12 to 10.131.192.0/24 lookup main
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement