"ifconfig et0 del" doesn't work for me - why?
hi,
i am trying to delete the binding of my eth0 interface to add a new ip for it. what i am doin' is the following: [root@black mischa]# ifconfig eth0 del 10.0.0.10 [root@black mischa]# ifconfig eth0 Protokoll:Ethernet Hardware Adresse 00:30:1B:AF:46:03 inet Adresse:10.0.0.10 Bcast:192.168.0.255 Maske:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:23765 errors:0 dropped:0 overruns:0 frame:0 TX packets:23757 errors:0 dropped:0 overruns:0 carrier:0 Kollisionen:0 Sendewarteschlangenlänge:100 RX bytes:30653427 (29.2 Mb) TX bytes:2150338 (2.0 Mb) Interrupt:11 the del command of ifconfig has no real effect. does anybody know why? thanx, mizuki |
rem is for removing an IPv6 address from the interface.
regular IP addressing that most of us use is IPv4 or just called IP for more info on IPv6 see: http://tldp.org/HOWTO/Linux+IPv6-HOWTO/x362.html IPv6 is new IP addressing using 128 bits , instead of 32 bits. to change the IP address it is bound to just type ifconfig eth0 <new ip address> or ifconfig eth0 address <new ip address> To remove the interface just type ifconfig eth0 down To bring the interface back ifconfig eth0 up The settings you make with ifconfig will not be saved if you reboot. |
All times are GMT -5. The time now is 07:31 AM. |