Networking Forums

Networking Forums > Computer Networking > Linux Networking > Linux subnet routing problem.

Reply
Thread Tools Display Modes

Linux subnet routing problem.

 
 
rickpratt@gmail.com
Guest
Posts: n/a

 
      07-11-2007, 09:06 AM
Hi There,

I'm scratching my head a little bit and hoping someone can help with
our problem. We have a development lab that we have segregated with a
sles 10.1 gateway / firewall from our office LAN. The firewall has
been disabled to sort out this problem and our environment is setup as
follows:

Office lan: 10.64.216.0/26
Office Host: 10.64.216.55/26
Gateway - office side (eth1): 10.64.216.62/26
- lab side (eth3): 10.64.216.65/26
Lab Cisco router - 10.64.216.66
Lab subnets: 10.64.216.64/26
10.64.216.128/26
10.64.216.192/26
10.64.217.0/24
10.64.218.0/24

The routing table on the gateway looks like this:

10.64.216.64 * 255.255.255.192 U 0
0 0 eth3
10.64.216.0 * 255.255.255.192 U
0 0 0 eth1
10.64.218.0 10.64.216.66 255.255.255.0 UG 0
0 0 eth3
10.64.217.0 10.64.216.66 255.255.255.0 UG 0
0 0 eth3
link-local * 255.255.0.0 U
0 0 0 eth1
loopback * 255.0.0.0 U
0 0 0 lo
default 10.64.216.1 0.0.0.0 UG
0 0 0 eth1

>From the office host we can reach any host on the 10.64.217.0/24 and

10.64.218.0/24 subnets via the lab router implying the gateway is
routing to 10.64.216.66.

Our problem is that we can't work out how to route traffic directly to
10.64.216.64/26 subnet from the office host.We can't contact either
the lab Cisco router interface or any other hosts in the subnet. On
the surface I would have thought we didn't need a specific route as
the network is directly attached, but something is amiss and any help
would be greatly appreciated.

Regards

Rick

 
Reply With Quote
 
 
 
 
Pascal Hambourg
Guest
Posts: n/a

 
      07-11-2007, 12:44 PM
Rick wrote :
>
> Office lan: 10.64.216.0/26
> Office Host: 10.64.216.55/26
> Gateway - office side (eth1): 10.64.216.62/26
> - lab side (eth3): 10.64.216.65/26
> Lab Cisco router - 10.64.216.66
> Lab subnets: 10.64.216.64/26
> 10.64.216.128/26
> 10.64.216.192/26
> 10.64.217.0/24
> 10.64.218.0/24
>
> The routing table on the gateway looks like this:

(I rewrote the routes so they are more readable and removed the
irrelevant loopback and link-local routes)

10.64.216.0/26 dev eth1
10.64.216.64/26 dev eth3
10.64.218.0/24 gw 10.64.216.66 dev eth3
10.64.217.0/24 gw 10.64.216.66 dev eth3
default gw 10.64.216.1 dev eth1

What is 10.64.216.1 ?

> From the office host we can reach any host on the 10.64.217.0/24 and
> 10.64.218.0/24 subnets via the lab router implying the gateway is
> routing to 10.64.216.66.
>
> Our problem is that we can't work out how to route traffic directly to
> 10.64.216.64/26 subnet from the office host.We can't contact either
> the lab Cisco router interface or any other hosts in the subnet.


What happens exactly ? Any "destination unreachable" error messages ?
Have you traced the packets on each expected traversed interface ?
What do the routing tables look like on the office host 10.64.216.55,
on the lab hosts in the 10.64.216.64/26 subnet and on the lab Cisco router ?

> On the surface I would have thought we didn't need a specific route as
> the network is directly attached


Do you mean a route to 10.64.216.64/26 ? Yes you need one, either on the
office host itself or on its default gateway. If its default gateway is the
lab-office gateway, the route is already present. Else, if its default
gateway is another router or it has no default gateway, you need to add the
route on the host itself or on its default gateway, saying that the gateway
for this destination is 10.64.216.62.
 
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
Routing - Computers on either subnet have problems finding PCs on the other subnet ZZYZX Windows Networking 2 03-26-2011 01:01 AM
linux ipv6 routing problem ayqazi Linux Networking 7 10-29-2007 08:20 PM
routing problem of Linux box CS Linux Networking 1 05-09-2006 08:47 PM
Routing problem with linux Christian Vorholt Linux Networking 1 12-03-2003 01:40 PM
subnet to subnet routing question S James Linux Networking 0 09-04-2003 03:37 PM



1 2 3 4 5 6 7 8 9 10 11