ifconfig alias

Robert Kania konference at gdi.cz
Wed Oct 1 12:02:51 CEST 2003


Dobry den,

   na jednom stroji se potykam s pro mne zahadnym problemem, kdy nemuzu 
zadne sitove karte priradit alias. System je 4.8-p10, jadro GENERIC.

sitove karty:

rl0 at pci0:10:0:  class=0x020000 card=0x813910ec chip=0x813910ec rev=0x10 
hdr=0x00
   vendor   = 'Realtek Semiconductor'
   device   = 'RT8139 (A/B/C/8130) Fast Ethernet Adapter'
   class    = network
   subclass = ethernet

a

ed1: <Plug & Play Ethernet Card> at port 0x200-0x21f iomem 
0xc8000-0xcbfff irq 5 on isa0
ed1: address 00:4f:4c:08:97:08, type NE2000 (16 bit)


ifconfig vypada takto:

rl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
       inet 192.168.0.17 netmask 0xffffff00 broadcast 192.168.0.255
       inet6 fe80::24f:4eff:fe13:e0bd%rl0 prefixlen 64 scopeid 0x1
       ether 00:4f:4e:13:e0:bd
       media: Ethernet autoselect (100baseTX <full-duplex>)
       status: active
ed1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
       inet 10.0.0.1 netmask 0xff000000 broadcast 255.255.255.0
       inet6 fe80::24f:4cff:fe08:9708%ed1 prefixlen 64 scopeid 0x3
       ether 00:4f:4c:08:97:08


kdyz se snazim o alias tak je vystup nasledujici:

#ifconfig ed1 inet alias 10.0.0.2 0xffffffff
ifconfig: ioctl (SIOCAIFADDR): File exists

popripade

#ifconfig rl0 inet alias 192.168.0.19 0xffffffff
ifconfig: ioctl (SIOCAIFADDR): File exists

Podle mne by ta chybova hlaska mela znamenat, ze takovy alias uz 
existuje, ale tak to neni - viz vyse uvedeny ifconfig. Na jinych 
pocitacich s podobnymi konfiguracemi s aliasy nemam problemy.

Setkal jste se s tim nekdo?

s pozdravem

-- 
Robert Kania   root  at  gdi.cz
kania at gdi.cz   ICQ:   148585231
gdi, s. r. o.  Anenska 10  Brno
www.gdi.cz     www.jazykovky.cz




More information about the Users-l mailing list