To change the ip address using ifconfig:
To change the netmask:
$ ifconfig eth0 netmask 255.255.255.0
To bring down an nic:
To bring up an nic:
$ ifconfig eth0 up
$ ifconfig eth0:192.168.4.100
To change the netmask:
$ ifconfig eth0 netmask 255.255.255.0
To bring down an nic:
$ ifconfig eth0 down
To bring up an nic:
$ ifconfig eth0 up
No comments:
Post a Comment