Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- sudo su
- vim /etc/network/interfaces
- ! WPISUJEMY TO W PLIKU !
- # The primary network interface
- auto eth0
- iface eth0 inet static
- address 192.168.0.62
- netmask 255.255.255.0
- gateway 192.168.0.1
- dns-nameservers 192.168.0.62 192.168.0.1 8.8.8.8
- dns-search home.local work.local
- #2nd network interface
- auto eth0:1
- iface eth0:1 inet static
- address 192.168.0.63
- netmask 255.255.255.0
- ! wq
- ifdown eth0
- ifup eth0
- ifup eth0:1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement