RE: Aliasing Question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



	Hi, I tested "ifconfig eth0:0 up 200.61.94.98" and this didn't work.

	My kernel is 2.2.15 and the result of ifconfig -a' and 'ifconfig -V
is:

	Thanks, Andres

	ifconfig -V

	net-tools 1.46
	ifconfig 1.35 (1998-08-29)

	ifconfig -a

	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:0 errors:0 dropped:0 overruns:0 frame:0
	          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
	          collisions:0

	eth0      Link encap:Ethernet  HWaddr 00:00:E8:13:7B:C4
	          inet addr:200.40.10.35  Bcast:200.40.10.63
Mask:255.255.255.224
	          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
	          RX packets:6772 errors:0 dropped:0 overruns:0 frame:0
	          TX packets:3907 errors:0 dropped:0 overruns:0 carrier:0
	          collisions:8
	          Interrupt:5 Base address:0x220

	eth1      Link encap:Ethernet  HWaddr 00:00:E8:13:91:70
	          inet addr:192.168.1.1  Bcast:192.168.1.255
Mask:255.255.255.0
	          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
	          RX packets:5538 errors:0 dropped:0 overruns:0 frame:0
	          TX packets:5634 errors:0 dropped:0 overruns:0 carrier:0
	          collisions:1
	          Interrupt:10 Base address:0x300

> -----Mensaje original-----
> De:	Darryl Miles [SMTP:darryl@netbauds.net]
> Enviado el:	Jueves 11 de Enero de 2001 12:10 AM
> Para:	linux-net@vger.kernel.org
> CC:	charrua@kernel.net.uy
> Asunto:	Re: Aliasing Question
> 
> 
> Charrua <charrua@kernel.net.uy>:
> > In the linux I type the next commands:
> >
> > ifconfig eth0:0 200.61.94.98
> > route add -host 200.61.94.98 dev eth0
> >
> > The real host IP is 200.40.10.35
> >
> > But, this not work!!. If I use the ifconfig command only see
> 200.40.10.35 I
> > don't see eth0:0.
> 
> I don't think the 'route' command is required at all, the kernel will
> automatically configure the necessary tables to make sure the IP address
> set for the alias is accepted locally.
> 
> ifconfig eth0:0 up 200.61.94.98
>                 ^^ - add this.
> 
> You may care to add the correct 'netmask' and 'broadcast' addresses to
> the ifconfig line if the default isn't correct.
> 
> If this doesn't do the trick, which kernel are you using, what is the
> current output of 'ifconfig -a' and 'ifconfig -V'.
> 
> 
> -- 
> Darryl Miles
-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org


[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux