Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
installing stage 1 behind gateway
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
cyberfunk007
n00b
n00b


Joined: 11 Oct 2002
Posts: 23

PostPosted: Fri Oct 11, 2002 2:39 am    Post subject: installing stage 1 behind gateway Reply with quote

Hi guys,

I admit i have not got verry far :oops: but i am at the stage where i need to manually configure my IP and Routing table. The IP i have assigned to eth0 on my gentoo box is 192.168.0.4 and the gateways internal IP is 192.168.0.2.

It seems the route they have put in the install instructions if for a PC that is directly connected to the internet. I have tried copying some of the other routes on other internal machines i have at home, and the best I could do was for PING to resolve the domain i typed in (e.g www.gentoo.org) with 100% packet loss *blush*

I was wondering if someone tell me what the route is supposed to be for a machine that is connecting to the net through a gateway?

Cheers ;)

Cyber
Back to top
View user's profile Send private message
rincewind
Apprentice
Apprentice


Joined: 16 Aug 2002
Posts: 172
Location: Essen, Germany

PostPosted: Fri Oct 11, 2002 5:10 am    Post subject: Reply with quote

try: route add -net default gw 192.168.0.2 netmask 0.0.0.0 metric 1

and please post output from route -a and ifconfig ?
Back to top
View user's profile Send private message
medic
n00b
n00b


Joined: 08 Oct 2002
Posts: 7
Location: Johnstown, PA

PostPosted: Fri Oct 11, 2002 5:21 am    Post subject: cyber Reply with quote

Cyber,
have you ran the net-setup utility, not selecting the dhcp setup, and answered the questions?

if not try running

ifconfig eth0 192.168.0.4 broadcast 192.168.0.255 netmask 255.255.x.x

then run

route add -net default gw 192.168.0.2 netmask 0.0.0.0 metric 1

my netmask for ifconfig is 255.255.255.0 your may very slightly...

Tom
Back to top
View user's profile Send private message
cyberfunk007
n00b
n00b


Joined: 11 Oct 2002
Posts: 23

PostPosted: Fri Oct 11, 2002 5:49 am    Post subject: Reply with quote

thanks guys, i will give it a go when I get home tonight...

I did the ifconfig part, but I think where i went wrong was in the route part... I think i put

route add -net gw 192.168.0.2 netmask 255.255.255.0 metric 1

the netmask being the part i got wrong... I will give it another try tonight and let you know how i go.

Cheers ;)

Cyber
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo 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