public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Re: basalayout-1.12.* and system1 ~ # /etc/init.d/net.eth0 restart * Starting eth0 * Bringing up eth0 * 192.168.1.2 [ ok ] * Adding routes * default via 192.168.1.1 ... baselayout-1.12.* and "Network is unreachable"
       [not found] <49bf44f10609161527h36d535dtec8e5a26800f544b@mail.gmail.com>
@ 2006-09-16 22:28 ` Grant
  2006-09-23  6:46   ` [gentoo-user] " Walter Dnes
  0 siblings, 1 reply; 3+ messages in thread
From: Grant @ 2006-09-16 22:28 UTC (permalink / raw
  To: Gentoo mailing list

> I was having major problems with baselayout-1.12.* until I followed
> the latest ebuild's instructions on having my net.* scripts link to
> net.lo .  Now the only problem I have is the following:
>
> system1 ~ # /etc/init.d/net.eth0 restart
>  * Stopping eth0
>  *   Bringing down eth0
>  *     Shutting down eth0 ...
>                                                [ ok ] * Starting eth0
>  *   Bringing up eth0
>  *     192.168.1.2
>                                                [ ok ] *   Adding
> routes
>  *     default via 192.168.1.1 ...
> RTNETLINK answers: Network is unreachable
>
> This is a Gentoo router that connects to a DSL modem/router via eth0.
> Downgrading to baselayout-1.11.* fixes the problem.  I did notice
> another instruction in the ebuild about the domainname script being
> removed and updating /etc/conf.d/net to reflect that.  This all I have
> for eth0 is /etc/conf.d/net :
>
> routes_eth0="default via 192.168.1.1"
> config_eth0="192.168.1.2"
>
> Can anyone help me with this?
>
> - Grant

I'm very sorry about the subject line.  It should have read:

"baselayout-1.12.* and "Network is unreachable"

- Grant
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-user] baselayout-1.12.* and "Network is unreachable"
  2006-09-16 22:28 ` [gentoo-user] Re: basalayout-1.12.* and system1 ~ # /etc/init.d/net.eth0 restart * Starting eth0 * Bringing up eth0 * 192.168.1.2 [ ok ] * Adding routes * default via 192.168.1.1 ... baselayout-1.12.* and "Network is unreachable" Grant
@ 2006-09-23  6:46   ` Walter Dnes
  2006-09-23 14:09     ` Grant
  0 siblings, 1 reply; 3+ messages in thread
From: Walter Dnes @ 2006-09-23  6:46 UTC (permalink / raw
  To: gentoo-user

On Sat, Sep 16, 2006 at 03:28:40PM -0700, Grant wrote

> >This all I have for eth0 is /etc/conf.d/net :
> >
> >routes_eth0="default via 192.168.1.1"
> >config_eth0="192.168.1.2"
> >
> >Can anyone help me with this?
> >
> >- Grant
> 
> I'm very sorry about the subject line.  It should have read:
> 
> "baselayout-1.12.* and "Network is unreachable"

  I don't see the original, so I'm replying to this message.  My
(somewhat non-standard) setup has the following lines...

config_eth0="192.168.123.252 broadcast 192.168.123.255 netmask 255.255.255.248 mtu 1454"
routes_eth0=("default via 192.168.123.254")

  I think that you should specify netmask and the broadcast address in
"config_eth0".  First, we need to know...
  - what IP address range is allocated to the machines behind the router?
  - what IP address does the router display to the machines behind it
    (presumably on eth1)?

  I've dealt with a multi-port router sitting behind a single-port ADSL
modem, and I'm aware that you have to take care that they don't step on
each other's address ranges.

-- 
Walter Dnes <waltdnes@waltdnes.org> In linux /sbin/init is Job #1
My musings on technology and security at http://tech_sec.blog.ca
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-user] baselayout-1.12.* and "Network is unreachable"
  2006-09-23  6:46   ` [gentoo-user] " Walter Dnes
@ 2006-09-23 14:09     ` Grant
  0 siblings, 0 replies; 3+ messages in thread
From: Grant @ 2006-09-23 14:09 UTC (permalink / raw
  To: gentoo-user

> > >This all I have for eth0 is /etc/conf.d/net :
> > >
> > >routes_eth0="default via 192.168.1.1"
> > >config_eth0="192.168.1.2"
> > >
> > >Can anyone help me with this?
> > >
> > >- Grant
> >
> > I'm very sorry about the subject line.  It should have read:
> >
> > "baselayout-1.12.* and "Network is unreachable"
>
>   I don't see the original, so I'm replying to this message.  My
> (somewhat non-standard) setup has the following lines...
>
> config_eth0="192.168.123.252 broadcast 192.168.123.255 netmask 255.255.255.248 mtu 1454"
> routes_eth0=("default via 192.168.123.254")
>
>   I think that you should specify netmask and the broadcast address in
> "config_eth0".  First, we need to know...
>   - what IP address range is allocated to the machines behind the router?
>   - what IP address does the router display to the machines behind it
>     (presumably on eth1)?
>
>   I've dealt with a multi-port router sitting behind a single-port ADSL
> modem, and I'm aware that you have to take care that they don't step on
> each other's address ranges.

Thank you very much.  That fixed it, I needed to specify the netmask.

- Grant
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2006-09-23 14:14 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <49bf44f10609161527h36d535dtec8e5a26800f544b@mail.gmail.com>
2006-09-16 22:28 ` [gentoo-user] Re: basalayout-1.12.* and system1 ~ # /etc/init.d/net.eth0 restart * Starting eth0 * Bringing up eth0 * 192.168.1.2 [ ok ] * Adding routes * default via 192.168.1.1 ... baselayout-1.12.* and "Network is unreachable" Grant
2006-09-23  6:46   ` [gentoo-user] " Walter Dnes
2006-09-23 14:09     ` Grant

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox