Networking Forums

Networking Forums > Computer Networking > Linux Networking > Routing problem (possibly straightforward)

Reply
Thread Tools Display Modes

Routing problem (possibly straightforward)

 
 
Rusty Phillips
Guest
Posts: n/a

 
      12-13-2003, 09:25 PM
eth0, the external interface is setup up as the gateway.
eth1, the private, and internal interface is connected to the rest of the network -
all routable addresses.

The LAN machines all have public addresses in the same block, and I've tried setting either
of the addresses (the internal inteface or the external one) as their gateway with no luck.

Here's my routing table:
Destination Gateway Genmask Flags Metric Ref Use
Iface
128.211.154.0 * 255.255.255.0 U 0 0 0 eth1
10.0.0.0 * 255.255.0.0 U 0 0 0 eth1
loopback localhost.local 255.0.0.0 UG 0 0 0 lo
default (IT'S eth0's) 0.0.0.0 UG 1 0 0 eth0

Here's the netmasks:
eth0 255.255.255.255
eth1 255.255.255.0

I also aliased eth1 to be part of the same subnet as eth0 and all the
other public addresses (with the same netmask)

Currently, my routing machine can see internet and LAN, but the local
machines can only see each other, and the cards in the routing machine.

For simplicity, assume that all packets are accepted - no firewall at all.
This is how I tested the config to see that it's not working.

Does anyone have any idea about what I need to do to get it working?

 
Reply With Quote
 
 
 
 
George Bell
Guest
Posts: n/a

 
      12-14-2003, 01:45 AM
Rusty Phillips wrote:

> eth0, the external interface is setup up as the gateway.
> eth1, the private, and internal interface is connected to the rest of the
> network - all routable addresses.
>
> The LAN machines all have public addresses in the same block, and I've
> tried setting either of the addresses (the internal inteface or the
> external one) as their gateway with no luck.
>
> Here's my routing table:
> Destination Gateway Genmask Flags Metric Ref Use
> Iface
> 128.211.154.0 * 255.255.255.0 U 0 0 0
> eth1
> 10.0.0.0 * 255.255.0.0 U 0 0 0
> eth1
> loopback localhost.local 255.0.0.0 UG 0 0 0 lo
> default (IT'S eth0's) 0.0.0.0 UG 1 0 0
> eth0
>
> Here's the netmasks:
> eth0 255.255.255.255
> eth1 255.255.255.0
>
> I also aliased eth1 to be part of the same subnet as eth0 and all the
> other public addresses (with the same netmask)
>
> Currently, my routing machine can see internet and LAN, but the local
> machines can only see each other, and the cards in the routing machine.
>


Sorry if this sounds like a stupid question, but...
You didn't say much about the hosts on your LAN.
How are the routing tables on the machines on your LAN configured?
Are they Linux/Windows/Other/Mixed?
Do they point to this gateway as their default destination?

George
--
#
#...
 
Reply With Quote
 
Rusty Phillips
Guest
Posts: n/a

 
      12-15-2003, 08:36 PM
They are all strictly Windows machines, and they are set up as
having the internal interface as their gateway.

Each of these machines has a quota with the connection service
(so NAT isn't a good option). HOWEVER, I have gotten around this
by doing round-robin address assignment of the public IPs to the
external interface and assigning all the other interfaces to private
addresses. At least it works.

It would be better, however, if I could assign each internal box
it's own routable address.

> Rusty Phillips wrote:
>
>> eth0, the external interface is setup up as the gateway.
>> eth1, the private, and internal interface is connected to the rest of the
>> network - all routable addresses.
>>
>> The LAN machines all have public addresses in the same block, and I've
>> tried setting either of the addresses (the internal inteface or the
>> external one) as their gateway with no luck.
>>
>> Here's my routing table:
>> Destination Gateway Genmask Flags Metric Ref Use
>> Iface
>> 128.211.154.0 * 255.255.255.0 U 0 0 0
>> eth1
>> 10.0.0.0 * 255.255.0.0 U 0 0 0
>> eth1
>> loopback localhost.local 255.0.0.0 UG 0 0 0 lo
>> default (IT'S eth0's) 0.0.0.0 UG 1 0 0
>> eth0
>>
>> Here's the netmasks:
>> eth0 255.255.255.255
>> eth1 255.255.255.0
>>
>> I also aliased eth1 to be part of the same subnet as eth0 and all the
>> other public addresses (with the same netmask)
>>
>> Currently, my routing machine can see internet and LAN, but the local
>> machines can only see each other, and the cards in the routing machine.
>>

>
> Sorry if this sounds like a stupid question, but...
> You didn't say much about the hosts on your LAN.
> How are the routing tables on the machines on your LAN configured?
> Are they Linux/Windows/Other/Mixed?
> Do they point to this gateway as their default destination?
>
> George


 
Reply With Quote
 
stewart menday
Guest
Posts: n/a

 
      12-16-2003, 08:48 AM
Hi
I have a very similar problem except my internal network is through
dial-in connections. I had this working under red hat 6 and 7 without
problems but cannot seem to get it to work under redhat 9.0. I am starting
to think that IP Forwarding is disabled by default in the kernel. Does
anyone know if this is so?

Regards

Stewart

"Rusty Phillips" <(E-Mail Removed)> wrote in message
news(E-Mail Removed).. .
> eth0, the external interface is setup up as the gateway.
> eth1, the private, and internal interface is connected to the rest of the

network -
> all routable addresses.
>
> The LAN machines all have public addresses in the same block, and I've

tried setting either
> of the addresses (the internal inteface or the external one) as their

gateway with no luck.
>
> Here's my routing table:
> Destination Gateway Genmask Flags Metric Ref Use
> Iface
> 128.211.154.0 * 255.255.255.0 U 0 0 0

eth1
> 10.0.0.0 * 255.255.0.0 U 0 0 0

eth1
> loopback localhost.local 255.0.0.0 UG 0 0 0 lo
> default (IT'S eth0's) 0.0.0.0 UG 1 0 0

eth0
>
> Here's the netmasks:
> eth0 255.255.255.255
> eth1 255.255.255.0
>
> I also aliased eth1 to be part of the same subnet as eth0 and all the
> other public addresses (with the same netmask)
>
> Currently, my routing machine can see internet and LAN, but the local
> machines can only see each other, and the cards in the routing machine.
>
> For simplicity, assume that all packets are accepted - no firewall at all.
> This is how I tested the config to see that it's not working.
>
> Does anyone have any idea about what I need to do to get it working?
>



 
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
Strange networking problem - possibly MTU size David W. Hodgins Linux Networking 19 01-26-2011 04:40 PM
Possibly a bit off topic, but could someone help please? Mike K Broadband 17 05-30-2007 10:32 AM
XP to Win 2k3 Can not possibly be this difficult -- Help Frustrated Networking XP Windows Networking 5 09-30-2004 02:37 AM
Strange wireless problem, (long and possibly confusing) Julie Wireless Internet 5 01-18-2004 05:29 PM
Possibly a FAQ... but not one I can find... Steve H Broadband 4 08-01-2003 08:41 PM



1 2 3 4 5 6 7 8 9 10 11