Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Default gateway
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
HePeR
n00b
n00b


Joined: 04 Oct 2002
Posts: 39

PostPosted: Sat Oct 19, 2002 10:02 am    Post subject: Default gateway Reply with quote

I hve a slackware linux running with ipmasq'ing and that works
the other windows puters in the network hve a internet connection

But my gentoo computer doesnt seems to work
i hve static ip and gateway set etc/conf.d/net

what could be the problem??
i think its something with the gateway setting

netstat -rn gives me:
Destination: 192.168.0.0
Gateway: 0.0.0.0
Genmask 255.255.255.0
Back to top
View user's profile Send private message
Craigo
Apprentice
Apprentice


Joined: 09 Aug 2002
Posts: 249
Location: /dev/life

PostPosted: Sat Oct 19, 2002 10:57 am    Post subject: Reply with quote

Quote:

netstat -rn gives me:
Destination: 192.168.0.0
Gateway: 0.0.0.0
Genmask 255.255.255.0


Erm... Give all your machines some decent ips address in orders.. like

192.168.1.1
192.168.1.2
etc

You should set the gateway address to like 192.168.1.1 and then the rest of the machines 192.168.1.2 etc etc. But then I don't know what's your set up is like.

As for IP masq..

iptables -t nat -A POSTROUTING -s 192.168.1.0/24 -j MASQUERADE

That should route all traffic to the 192.168.1.x network..

Though you didn't give quite enough information about your network anyway :/ Sorry if this doesn't help in some ways.

-/Craigo/-
Back to top
View user's profile Send private message
nempo
Guru
Guru


Joined: 16 Apr 2002
Posts: 360
Location: Linkoping, Sweden

PostPosted: Sat Oct 19, 2002 11:48 am    Post subject: Reply with quote

I'm doing a similar thing except that I'm using gentoo for routing. If you have not done so try adding your ISP:s DNS to /etc/resolv on your client machines.
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