Re: Assigning a virtual ip address to PCMCIA ethernet card
Hello.
Are you sure your kernel has IP aliasing support (CONFIG_IP_ALIAS)?
After reading last posts on this thread I got the feeling that you don't
have that option - recompile or boot a different kernel (IMHO prepackaged
kernels do have IP aliasing).
BTW eth0:0 is OK, ie. eth0 and eth0:0 are not the same (after
/usr/src/(linux or kernel-whatever)/Documentation/networking/alias.txt).
Regards,
Adam
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Adam Galant
o
Programmer, network administrator O
Telestar Electronics Ltd. /|\/`
\ |_
phone: (+48) (022) 332 32 85 ' | |.
|.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
On Tue, 9 Jul 2002, Tan, Stephen wrote:
>
> Hi all - I am having problems trying to assign a virtual ip to my pcmcia
> ethernet card.
>
> The card already has an ip address set. An ifconfig shows that all is fine:
>
>
> florence:/etc/network# ifconfig
> eth0 Link encap:Ethernet HWaddr 00:50:DA:EA:05:60
> inet addr:xxx.xxx.xxx.xx Bcast:xxx.xxx.xxx.255
> Mask:255.255.255.0
> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
> RX packets:48304 errors:0 dropped:0 overruns:0 frame:0
> TX packets:2622 errors:0 dropped:0 overruns:0 carrier:1
> collisions:0 txqueuelen:100
> Interrupt:5 Base address:0x300
>
> lo Link encap:Local Loopback
> inet addr:127.0.0.1 Mask:255.0.0.0
> UP LOOPBACK RUNNING MTU:3924 Metric:1
> RX packets:8 errors:0 dropped:0 overruns:0 frame:0
> TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:0
>
> Trying to assign a virtual ip results in this:
>
> florence:/etc/network# ifconfig eth0:0 192.168.253.200 netmask
> 255.255.255.0 up
> SIOCSIFADDR: No such device
> SIOCSIFFLAGS: No such device
> SIOCSIFNETMASK: No such device
> SIOCSIFFLAGS: No such device
>
>
> Any ideas anyone?
>
> Thanks in advance
>
> Stan
>
>
> --
> To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
>
>
>
>
--
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to: