LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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, 02: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, 03: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



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 07:14 PM
chrooted user: "write" and "talk" don't work. ldp Linux - Software 2 04-12-2005 02:05 AM
"<" ">" Keyboard keys on Toshiba Satellite 1005-s157 dont work RodCas Linux - Laptop and Netbook 1 05-08-2004 04:22 PM
"unlock" ctrl-alt-del raysr Linux - Newbie 6 05-07-2004 11:53 AM
<input type="button" disabled="true" > does not work in ns4.7 or 4.9 cybercop12us Programming 2 11-29-2002 08:31 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 09:20 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration