View previous topic :: View next topic |
Author |
Message |
firehawk n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/715069145967c5c7453c.gif)
Joined: 11 Jan 2004 Posts: 34 Location: Cape Town , South Africa
|
Posted: Wed Dec 08, 2004 3:02 pm Post subject: routing over digitnet line and to seperate internet con. |
|
|
Hi this is one of those weird ones, I am hoping soemone has come accross the answer to this:
I have a network 192.168.1.0/ 255.255.255.0
Unix machine : 192.168.1.3
Linux router: 192.168.1.2 (eth1) / public IP (eth0)
Routing set up on this machine, and all the machines can access the internet fine.
Company just set up a diginet line to another site :
Local diginet IP : 192.168.1.50
Foreign Diginet ip : 192.168.3.50
Their routing tables were set up by another company (I am wondering maybe if they are not the problem) But when I set up the routing tables to point to the 192.168.3.0 network. they can ping across just fine and all.
I have set the routing tables on the 192.168.3.0 network pc's to know about the 192.168.1.0 network, then set their default gateway to 192.168.1.2
They can ping the router, but it does not forward their packets ...?
I hope I made sense here
Any ideas?
Thanks in advance
Last edited by firehawk on Thu Dec 09, 2004 7:26 am; edited 2 times in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
slam_head Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/12041246593e397dd37c54c.gif)
Joined: 06 Jan 2003 Posts: 449 Location: New York City
|
Posted: Wed Dec 08, 2004 7:28 pm Post subject: |
|
|
first off you can't have a 32 bit mask for a network, it leaves no bits for hosts, in other words 255.255.255.255 is an illegal mask. Are you running any routing protocals? Can you post a routing table for both sides? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
firehawk n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/715069145967c5c7453c.gif)
Joined: 11 Jan 2004 Posts: 34 Location: Cape Town , South Africa
|
Posted: Thu Dec 09, 2004 7:26 am Post subject: oops, |
|
|
oops, sorry ... the mask is a mistake ... I will edit it out now ..
I will get the routing tables posted asap. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
firehawk n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/715069145967c5c7453c.gif)
Joined: 11 Jan 2004 Posts: 34 Location: Cape Town , South Africa
|
Posted: Thu Dec 09, 2004 10:31 am Post subject: |
|
|
Ok, this is the roting table for the linux box. that does Masquerading/NAT to the internet . I am emulating the problem on this machine, since the final machine on which this all has to work, has another internet connection with a public IP.
Code: |
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.3.0 192.168.1.50 255.255.255.0 UG 0 0 0 eth0
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
127.0.0.0 127.0.0.1 255.0.0.0 UG 0 0 0 lo
0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 eth0
|
N.B Note this machine IP is 192.168.1.5 (the real one is 192.168.1.2) ... so this will show on the other machines for their default gateways ...
Ok, Here is a machine on the 192.168.3.0 networks Route Table:
Code: |
Active Routes:
Network Destination Netmask Gateway Interface Metric
0.0.0.0 0.0.0.0 192.168.1.5 192.168.3.55 30
127.0.0.0 255.0.0.0 127.0.0.1 127.0.0.1 1
192.168.1.0 255.255.255.0 192.168.3.50 192.168.3.55 1
192.168.3.0 255.255.255.0 192.168.3.55 192.168.3.55 30
192.168.3.55 255.255.255.255 127.0.0.1 127.0.0.1 30
192.168.3.255 255.255.255.255 192.168.3.55 192.168.3.55 30
224.0.0.0 240.0.0.0 192.168.3.55 192.168.3.55 30
255.255.255.255 255.255.255.255 192.168.3.55 192.168.3.55 1
Default Gateway: 192.168.1.5
|
I noticed something new just with the connection between the diginet router connection:
I can access shares on any machine on the 192.168.1.0 network from the 192.168.3.0 network, but can't the other way round ???
But I can ping both ways ??
If I can fix this then all will be will I think ...
I have checked the routing tables on the diginet routers and they are fine ... Can post them if wanted ... |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
firehawk n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/715069145967c5c7453c.gif)
Joined: 11 Jan 2004 Posts: 34 Location: Cape Town , South Africa
|
Posted: Thu Dec 09, 2004 10:45 am Post subject: |
|
|
ok, fixed the problem with accessing shates between networks ... lets just say windows was involved ... I tried another one and all works .. now I don't know what t olook for ... I am back to my original problem .... |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
firehawk n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/715069145967c5c7453c.gif)
Joined: 11 Jan 2004 Posts: 34 Location: Cape Town , South Africa
|
Posted: Thu Dec 09, 2004 11:17 am Post subject: |
|
|
SOLVED:
Doesn't really make sense, but I ended up seting the default gateway for hte machines on 192.168.3.0 network to the 3com router's IP ... then added ectra routing for internet to the other router and then from the other router to the linux internet router ... and it all works ... weird ..
but I am happy
hope this helps anyone ever in this situation ... |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|