Network setting in Ubuntu server 12.10
sudo nano /etc/network/interfaces
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet dhcp
netmask 255.255.255.0
broadcast 10.1.62.255
auto eth1
iface eth1 inet dhcp
netmask 255.255.255.0
broadcast 10.1.62.255
sudo service networking restart
sudo ifup eth0
sudo ifup eth1
ifconfig -a
will see the results of configuration
eth0 with ip 10.1.62.xxx
eth1 with ip 192.168.2.99
to test ping google.com
No comments:
Post a Comment