Networking Forums

Networking Forums > Computer Networking > Linux Networking > cant ping my router or get on internet

Reply
Thread Tools Display Modes

cant ping my router or get on internet

 
 
Guest
Posts: n/a

 
      10-10-2006, 07:52 PM
hi,

i have a linux box with 2 nics. one nic is 192.168.0.10 and the other is
192.168.1.10

192.168.1.10 is connected directly to a linksys router at 192.168.1.1 -
other pc's connected to the router can access the net.

however from the console of linux box, i cannot ping the router as I get
'destination network unreachable'.

i got a feeling, i need a static route, but i don't know the details. :-(

please help! i have been trying all afternoon!


 
Reply With Quote
 
 
 
 
ipnwsec
Guest
Posts: n/a

 
      10-10-2006, 10:01 PM
Hi,

Here you need a static route on the linksys router for the Network
192.168.0.10

so add a static route on linksys router with

192.168.0.0/24 g/w 192.168.1.10

and also please let me knw which linksys router you are using then we
will be able to tell if it allows you to go to the internet, bcoz if ur
linux box does just routing instead of NATng linksys router will not do
the NATng.

So if possible run NAT on the Linux box, i will get back to you on how
to do this later.

Thanks,
Sunil
http://geocities.com/sunil3112000

(E-Mail Removed) wrote:
> hi,
>
> i have a linux box with 2 nics. one nic is 192.168.0.10 and the other is
> 192.168.1.10
>
> 192.168.1.10 is connected directly to a linksys router at 192.168.1.1 -
> other pc's connected to the router can access the net.
>
> however from the console of linux box, i cannot ping the router as I get
> 'destination network unreachable'.
>
> i got a feeling, i need a static route, but i don't know the details. :-(
>
> please help! i have been trying all afternoon!


 
Reply With Quote
 
Pascal Hambourg
Guest
Posts: n/a

 
      10-10-2006, 11:12 PM
Hello,

(E-Mail Removed) a écrit :
>
> i have a linux box with 2 nics. one nic is 192.168.0.10 and the other is
> 192.168.1.10
>
> 192.168.1.10 is connected directly to a linksys router at 192.168.1.1 -
> other pc's connected to the router can access the net.
>
> however from the console of linux box, i cannot ping the router as I get
> 'destination network unreachable'.


What is tuhe output of
ifconfig -a
route -n
iptables-save

> i got a feeling, i need a static route, but i don't know the details. :-(


The proper route should have been automatically installed when you
configured the network interface with the IP address 192.168.1.10.
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem getting internet access but am connected to router and can't ping T76 Wireless Internet 0 11-14-2007 07:20 PM
Cannot ping router or connect to internet, but I can access its web config page mcentyre Wireless Internet 0 09-24-2007 11:25 PM
Can ping wireless router but not internet connection S Wireless Internet 1 04-07-2006 05:20 PM
Can only ping the router, but not the internet with WLAN? Spare Brain Linux Networking 8 09-07-2005 05:17 AM
Cannot ping router or access internet bluemicrobyte Windows Networking 0 08-19-2004 02:48 AM



1 2 3 4 5 6 7 8 9 10 11