Indeed, setting the ip, gateway, and netmask was enough to make it work in
my case.

Thanks to all for your replies.

2007/11/28, Dan Farrell <[EMAIL PROTECTED]>:
>
> On Wed, 28 Nov 2007 10:18:05 +0100
> Etaoin Shrdlu <[EMAIL PROTECTED]> wrote:
>
> > I don't know exactly how initscripts work, but I suppose that if
> > the /24 is given in /etc/conf.d/net, then both the resulting iproute2
> > and ifconfig command that bring the interface up will include the
> > netmask specification.
>
> How the net init script works (there's really only one, generally net.*
> is linked to net.lo for update simplicity) is configured
> in /etc/conf.d/net.  /etc/conf.d/net.example holds examples for just
> about every imaginable configuration, but from my net, iproute2 looks
> something like:
>
> modules=("iproute2");
> config_eth0=( "192.168.1.87/24 brd 192.168.1.255");
> routes_eth0=( "default via 192.168.1.1" );
> config_eth1=( "192.168.1.88/24 brd 192.168.1.255" );
>
> but as you can see, that still doesn't set up a netmask but uses the
> default.  I agree that in both cases the default would be /8 for a
> 10.xxx network, but as you can see the config syntax is different for
> iproute2 and ifconfig.
> --
> [EMAIL PROTECTED] mailing list
>
>

Reply via email to