Networking Forums

Networking Forums > Computer Networking > Linux Networking > can't get route to work

Reply
Thread Tools Display Modes

can't get route to work

 
 
Grendell
Guest
Posts: n/a

 
      10-04-2003, 02:01 AM
Hey all,

OK I have a linux box that is suposed to route all incoming packets to
203.xx.xxx.www which is on the other side of the ethernet card. the box has
a dail-up permanent conection IP 203.xx.xxx.yy and the ethernet card has a
permenent IP of 203.xx.xxx.zzz . I am a reletive newbe but have been dumped
with this problem. the ip table looks like this:

Kernel IP routing table
Destination Gateway Genmask
Flags MSS Window irtt Iface
203.xx.yyy.vvv 0.0.0.0 255.255.255.255 UH
40 0 0 ppp0
203.xx.xxx.uuu 203.xx.xxx.www 255.255.255.248 UG 40
0 0 eth0
203.xx.xxx.0 0.0.0.0 255.255.255.0 U
40 0 0 eth0
127.0.0.0 0.0.0.0 255.0.0.0
U 40 0 0 lo
0.0.0.0 203.xx.xxx.yy 0.0.0.0
UG 40 0 0 ppp0


Can anyone help me?


 
Reply With Quote
 
 
 
 
Mark
Guest
Posts: n/a

 
      10-04-2003, 02:44 AM
In article <iSpfb.135487$(E-Mail Removed)>,
(E-Mail Removed) says...
> Hey all,
>
> OK I have a linux box that is suposed to route all incoming packets to
> 203.xx.xxx.www which is on the other side of the ethernet card. the box has
> a dail-up permanent conection IP 203.xx.xxx.yy and the ethernet card has a
> permenent IP of 203.xx.xxx.zzz . I am a reletive newbe but have been dumped
> with this problem. the ip table looks like this:
>
> Kernel IP routing table
> Destination Gateway Genmask
> Flags MSS Window irtt Iface
> 203.xx.yyy.vvv 0.0.0.0 255.255.255.255 UH
> 40 0 0 ppp0
> 203.xx.xxx.uuu 203.xx.xxx.www 255.255.255.248 UG 40
> 0 0 eth0
> 203.xx.xxx.0 0.0.0.0 255.255.255.0 U
> 40 0 0 eth0
> 127.0.0.0 0.0.0.0 255.0.0.0
> U 40 0 0 lo
> 0.0.0.0 203.xx.xxx.yy 0.0.0.0
> UG 40 0 0 ppp0
>
>
> Can anyone help me?
>
>
>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

<snip>
If you request help, please do not munge ip addresses etc...

- --
Regards,
Mark

Samba Setup Guide: www.samba.netfirms.com
My gpg public key: www.samba.netfirms.com/gnupg/gpg_public.asc

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (MingW32) - WinPT 0.7.96rc1

iD8DBQE/fjIxtBEshgy1hH4RAp8tAJ9lw02QRNwzxXoaVIWBnmdgACxyvA CeNKK0
LiF1UwKymKzvuGjUaLT09i4=
=4Iav
-----END PGP SIGNATURE-----
 
Reply With Quote
 
David Efflandt
Guest
Posts: n/a

 
      10-04-2003, 06:43 AM
On Sat, 04 Oct 2003 02:01:50 GMT, Grendell <(E-Mail Removed)> wrote:
> Hey all,
>
> OK I have a linux box that is suposed to route all incoming packets to
> 203.xx.xxx.www which is on the other side of the ethernet card. the box has
> a dail-up permanent conection IP 203.xx.xxx.yy and the ethernet card has a
> permenent IP of 203.xx.xxx.zzz . I am a reletive newbe but have been dumped
> with this problem. the ip table looks like this:
>
> Kernel IP routing table
> Destination Gateway Genmask
> Flags MSS Window irtt Iface
> 203.xx.yyy.vvv 0.0.0.0 255.255.255.255 UH
> 40 0 0 ppp0
> 203.xx.xxx.uuu 203.xx.xxx.www 255.255.255.248 UG 40
> 0 0 eth0
> 203.xx.xxx.0 0.0.0.0 255.255.255.0 U
> 40 0 0 eth0
> 127.0.0.0 0.0.0.0 255.0.0.0
> U 40 0 0 lo
> 0.0.0.0 203.xx.xxx.yy 0.0.0.0
> UG 40 0 0 ppp0
>
>
> Can anyone help me?


Not without at least:
- The part of all IPs after last dot.
- Type of hardware device 203.xx.xxx.www (regular router or NAT
router?).
- Is ppp0 dialin or dialout?
- What path leads to the internet?

But your routing definitely does NOT match your description. It is also
possible that eth0 is configured with incorrect netmask and broadcast.

For one thing, you are NOT routing everything to 203.xx.xxx.www (just
203.xx.xxx.uuu/29 subnet, assuming 203.xx.xxx.uuu is a proper network IP).

For another thing, your ppp0 routing does not make any sense, and should
generate an error, because you have no ppp0 route for your default gw IP.

So you definitely have something wrong in your routing, but we cannot tell
exactly what with such insufficient data.

--
David Efflandt - All spam ignored http://www.de-srv.com/
http://www.autox.chicago.il.us/ http://www.berniesfloral.net/
http://cgi-help.virtualave.net/ http://hammer.prohosting.com/~cgi-wiz/
 
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
Why does this route not work ? Gifford Windows Networking 7 05-21-2009 06:30 PM
Static route in Routing and Remote Access doesn't work joenahmias@gmail.com Windows Networking 9 11-19-2008 08:01 PM
VPN client adds wrong route to local route table snowdog_2112 Windows Networking 7 11-01-2005 02:05 PM
my router power light wont work! after firmware upgrade! restore dont work! Chriz Mac Broadband Hardware 1 01-23-2005 02:42 AM
route and static route to a gateway Sting Linux Networking 2 02-21-2004 03:35 AM



1 2 3 4 5 6 7 8 9 10 11