LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 12-17-2003, 03:53 AM   #1
mizuki26
LQ Newbie
 
Registered: Nov 2003
Distribution: Madrake 9.1
Posts: 8

Rep: Reputation: 0
"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
 
Old 12-17-2003, 04:30 AM   #2
beyer42
Member
 
Registered: Dec 2003
Location: San Jose
Distribution: Redhat WS 3
Posts: 410

Rep: Reputation: 30
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
tying "dhcpcd" into "ifconfig" up and down Riddick Linux - Software 8 09-10-2005 08:14 PM
chrooted user: "write" and "talk" don't work. ldp Linux - Software 2 04-12-2005 03:05 AM
"<" ">" Keyboard keys on Toshiba Satellite 1005-s157 dont work RodCas Linux - Laptop and Netbook 1 05-08-2004 05:22 PM
"unlock" ctrl-alt-del raysr Linux - Newbie 6 05-07-2004 12:53 PM
<input type="button" disabled="true" > does not work in ns4.7 or 4.9 cybercop12us Programming 2 11-29-2002 09:31 AM


All times are GMT -5. The time now is 07:40 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration