On 2011-10-17, Grant Edwards <[email protected]> wrote:
> I'm trying to configure a second IP address for eth1 using the syntax
> I found at
>
>
> http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=4&chap=2#doc_chap1
>
> But, it doesn't work.
>
> Here's my /etc/init.d/net file:
>
> config_eth0="192.168.8.4/16"
> routes_eth0="default via 192.168.0.254"
> config_eth1=10.0.0.1/8"
> 192.168.250.1/24"
>
> But, starting eth1 says:
>
> # /etc/init.d/net.eth1 start
> * Bringing up interface eth1
> * Starting netplug on eth1 ... [ ok ]
> * Backgrounding ...
> * ERROR: net.eth1 failed to start
>
> Only eth1 is configured. eth1:1 isn't configured.
I disabled netplug for both interfaces, and that got rid of the error
message:
# /etc/init.d/net.eth1 start
* Bringing up interface eth1
* 10.0.0.1/8 ... [ ok ]
* 192.168.250.1/24 ... [ ok ]
Now I can ping addresses in the 192.168.250/24 subnet. However, I
still don't see eth1:1 in netstat output the way that I do when I
manually configure it. According TFM, eth1:1 should have been created
for the second address. What gives?
How do you see the second IP address that's configured for an
interface if ifconfig won't show it to you?
--
Grant Edwards grant.b.edwards Yow! I own seven-eighths of
at all the artists in downtown
gmail.com Burbank!