Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Optimizing the network setup
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
pranyi
Apprentice
Apprentice


Joined: 06 Mar 2003
Posts: 293
Location: Germany

PostPosted: Sun Mar 09, 2003 9:53 pm    Post subject: Optimizing the network setup Reply with quote

I would like to setup my network for routing.
I have two ethernet cards: eth0 and eth1 and I would like to connect to
the ISP (via dsl) with eth1 and to my laptop with eth0.

I works quite OK, but I have the problem that eth1 waits quite long
(and in vain) for the dhcp while booting before connecting to the
ISP via ppp.

Perhaps my configuration is suboptimal my /etc/conf.d/net contains the following
lines:

Code:

iface_eth0="192.168.0.1 broadcast 192.168.0.255 netmask 255.255.255.0"
iface_eth1="dhcp"


Should I simply delete the iface_eth1 line?
Back to top
View user's profile Send private message
BonezTheGoon
Bodhisattva
Bodhisattva


Joined: 14 Jun 2002
Posts: 1408
Location: Albuquerque, NM -- birthplace of Microsoft and Gentoo

PostPosted: Sun Mar 09, 2003 11:26 pm    Post subject: Reply with quote

Moving from Installing Gentoo to Networking & Security.

Regards,
BonezTheGoon
Back to top
View user's profile Send private message
Sven Vermeulen
Retired Dev
Retired Dev


Joined: 29 Aug 2002
Posts: 1345
Location: Mechelen, Belgium

PostPosted: Mon Mar 10, 2003 5:20 pm    Post subject: Reply with quote

With "in vain", you mean that it doesn't receive no IP information? If that's what you mean (so that the IP information gets received later on by a different (init)script, then you can add "-t 5" to /etc/conf.d/net.eth1's dhcpcd_opts. This will ask dhcpcd to only wait 5 seconds and then go on if it doesn't receive any information
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum