LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 09-08-2008, 03:50 AM   #1
tenzan
Member
 
Registered: May 2005
Posts: 58

Rep: Reputation: 15
can't use internet with dhcp working in gentoo


hello,

I've just installed gentoo 2008, installed dhcp server.
DHCP server gives a dynamic ip address for a client machine but I can't use internet.
The network card settings are as follows:

config_eth0=( "77.235.18.60 netmask 255.255.255.240 broadcast 77.235.18.255" )
routes_eth0=( "default via 77.235.18.49" )

config_eth1=( "192.168.0.1 netmask 255.255.255.0 broadcast 192.168.0.255" )
----
eth0 - is for WAN
eth1 - for LAN

I don't understand where the problem is...

thanks
 
Old 09-08-2008, 04:09 AM   #2
tenzan
Member
 
Registered: May 2005
Posts: 58

Original Poster
Rep: Reputation: 15
I have iptables installed but not configured with rules.
Now it works.
 
Old 09-08-2008, 10:26 AM   #3
dberkholz
LQ Newbie
 
Registered: Feb 2003
Location: Rochester, MN, USA
Distribution: Gentoo
Posts: 17

Rep: Reputation: 0
Good to hear you got it solved! That's a strange problem.
 
Old 09-08-2008, 10:00 PM   #4
tenzan
Member
 
Registered: May 2005
Posts: 58

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by spyderous View Post
Good to hear you got it solved! That's a strange problem.
the problem was I didn't set ip forwarding.
now it works
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
dhcp gentoo shooterfpga Linux - Networking 1 12-26-2004 11:55 PM
DHCP issues with Gentoo gpit2286 Linux - Software 8 11-03-2004 10:45 PM
Setting up dhcp, nework in gentoo. cheater1034 Linux - Networking 3 09-10-2004 05:50 AM
Can't get internet working on Slackware 9.1, kernel 2.4.22, realtek 8139 with dhcp ygnas Slackware 6 03-02-2004 11:06 AM
Gentoo DHCP Tez218 Linux - Networking 2 09-11-2003 12:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 09:47 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration