Networking Forums

Networking Forums > Computer Networking > Linux Networking > ifcfg-eth0:1 ifcfg-eth0:0

Reply
Thread Tools Display Modes

ifcfg-eth0:1 ifcfg-eth0:0

 
 
delphinuscadmus@yahoo.com
Guest
Posts: n/a

 
      04-22-2006, 05:29 AM
Ok, I almost forgot...

Should the first alias (virtual address) start with a zero?
Can it start with a one, or does this cause a problem?
e.g.; ifcfg-eth0:1 or ifcfg-eth0:0

Thanks again!

 
Reply With Quote
 
 
 
 
darjus@gmail.com
Guest
Posts: n/a

 
      04-22-2006, 02:48 PM
Hi,

I think it needs to start with ":1"

Bye,
Darjus Loktevic

 
Reply With Quote
 
Jerry Peters
Guest
Posts: n/a

 
      04-22-2006, 10:11 PM
(E-Mail Removed) <(E-Mail Removed)> wrote:
> Hi,
>
> I think it needs to start with ":1"
>
> Bye,
> Darjus Loktevic
>


It doesn't need to be a number:
# ifconfig ath0:local 172.168.77.7 succeeds.

ath0:loca Link encap:Ethernet HWaddr 00:0D:02:76:04:4B
inet addr:172.168.77.7 Bcast:172.168.255.255
Mask:255.255.0.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Interrupt:11 Memory:d89c0000-d89d0000

Note that ifconfig only displays 4 character, but there are really 5:
# ifconfig ath0:loca down
SIOCSIFFLAGS: Cannot assign requested address
Whereas # ifconfig ath0:local down succeeds.

Jerry
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't get eth0 up (wired) - e1000 device eth0 does not seem to be present, delaying initialization. OtisUsenet Linux Networking 2 06-06-2007 02:57 AM
ifcfg-eth0:1 ifcfg-eth1.11 delphinuscadmus@yahoo.com Linux Networking 1 04-22-2006 06:57 PM
ifcfg-VLAN delphinuscadmus@yahoo.com Linux Networking 0 03-31-2006 10:00 PM
IFCFG shows duplicate interfaces ashok Linux Networking 0 11-27-2005 01:57 PM
how tho change source address of eth0/eth0:1 ? news Linux Networking 2 06-09-2004 03:25 PM



1 2 3 4 5 6 7 8 9 10 11