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 active 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 static
- address 10.192.168.60
- netmask 255.255.254.0
- gateway 10.192.168.1
- network 10.192.168.0
- broadcast 10.192.169.255
- dns-nameserver 192.168.1.21
- # The secondary network interface
- auto eth1
- iface eth1 inet static
- address 192.168.0.11
- netmask 255.255.248.0
- gateway 192.168.0.1
- network 192.168.0.0
- broadcast 192.168.7.255
- dns-nameserver 192.168.1.21
- cat /etc/udev/rules.d/70-persistent-net.rules
- echo 1 > /proc/sys/net/ipv4/ip_forward
- auto eth0
- iface eth0 inet static
- address 10.192.168.60
- netmask 255.255.254.0
- dns-nameserver 192.168.1.21
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement