Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
routing over digitnet line and to seperate internet con.
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
firehawk
n00b
n00b


Joined: 11 Jan 2004
Posts: 34
Location: Cape Town , South Africa

PostPosted: Wed Dec 08, 2004 3:02 pm    Post subject: routing over digitnet line and to seperate internet con. Reply with quote

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
View user's profile Send private message
slam_head
Guru
Guru


Joined: 06 Jan 2003
Posts: 449
Location: New York City

PostPosted: Wed Dec 08, 2004 7:28 pm    Post subject: Reply with quote

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
View user's profile Send private message
firehawk
n00b
n00b


Joined: 11 Jan 2004
Posts: 34
Location: Cape Town , South Africa

PostPosted: Thu Dec 09, 2004 7:26 am    Post subject: oops, Reply with quote

oops, sorry ... the mask is a mistake ... I will edit it out now ..

I will get the routing tables posted asap.
Back to top
View user's profile Send private message
firehawk
n00b
n00b


Joined: 11 Jan 2004
Posts: 34
Location: Cape Town , South Africa

PostPosted: Thu Dec 09, 2004 10:31 am    Post subject: Reply with quote

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
View user's profile Send private message
firehawk
n00b
n00b


Joined: 11 Jan 2004
Posts: 34
Location: Cape Town , South Africa

PostPosted: Thu Dec 09, 2004 10:45 am    Post subject: Reply with quote

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
View user's profile Send private message
firehawk
n00b
n00b


Joined: 11 Jan 2004
Posts: 34
Location: Cape Town , South Africa

PostPosted: Thu Dec 09, 2004 11:17 am    Post subject: Reply with quote

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
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