1 |
Indeed, setting the ip, gateway, and netmask was enough to make it work in |
2 |
my case. |
3 |
|
4 |
Thanks to all for your replies. |
5 |
|
6 |
2007/11/28, Dan Farrell <dan@×××××××××.cx>: |
7 |
> |
8 |
> On Wed, 28 Nov 2007 10:18:05 +0100 |
9 |
> Etaoin Shrdlu <shrdlu@×××××××××××××.org> wrote: |
10 |
> |
11 |
> > I don't know exactly how initscripts work, but I suppose that if |
12 |
> > the /24 is given in /etc/conf.d/net, then both the resulting iproute2 |
13 |
> > and ifconfig command that bring the interface up will include the |
14 |
> > netmask specification. |
15 |
> |
16 |
> How the net init script works (there's really only one, generally net.* |
17 |
> is linked to net.lo for update simplicity) is configured |
18 |
> in /etc/conf.d/net. /etc/conf.d/net.example holds examples for just |
19 |
> about every imaginable configuration, but from my net, iproute2 looks |
20 |
> something like: |
21 |
> |
22 |
> modules=("iproute2"); |
23 |
> config_eth0=( "192.168.1.87/24 brd 192.168.1.255"); |
24 |
> routes_eth0=( "default via 192.168.1.1" ); |
25 |
> config_eth1=( "192.168.1.88/24 brd 192.168.1.255" ); |
26 |
> |
27 |
> but as you can see, that still doesn't set up a netmask but uses the |
28 |
> default. I agree that in both cases the default would be /8 for a |
29 |
> 10.xxx network, but as you can see the config syntax is different for |
30 |
> iproute2 and ifconfig. |
31 |
> -- |
32 |
> gentoo-user@g.o mailing list |
33 |
> |
34 |
> |