Networking Forums

Networking Forums > Computer Networking > Linux Networking > Is this routing possible?

Reply
Thread Tools Display Modes

Is this routing possible?

 
 
Cocy
Guest
Posts: n/a

 
      11-07-2003, 01:00 AM
Hello,

I've set up the following network, and added following configuration.

o The default gateway for the hosts in the Network B to be
the Nat/FW's eth1.
o Added a route in the Nat/FW such as
"route add -net A/subnet gw [router's Interface] dev eth1"
(I've configured the Nat/FW with linux kernel2.4 and iptables).

Network A
\
\
Router --+-- (eth1)Nat/FW(eth0) --- Internet
|
|
|
Network B

I've expected the packet which comes from B to A goes
into Nat/FW's eth1 and goes out the same interface for the Router.
i.e. I've expected the packet from B to A travels as,
Going to B : B --> Nat/FW --> Router --> A
Coming back from A : A --> Router --> B

Even though I was not sure if it worked properly,pinging
from B to A worked and vice versa.
But other protocol, such as rlogin from B to A, doesn't
work ever after the "Password:" prompt came back.
I've seen strange packet that destination is not in the above
network (let's say if A is 192.168.1.0/24, the strange packet's
destination address was 192.203.X.X. or 192.30.X.X.) when I've
snooped the packets.

And when I changed the default GW in hosts in B to point the
router, it worked.

I want to know what was wrong with the first setting.
Could someone have any idea about why it doesn't work?

Thanks and Regards,
 
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
Missing routing in LAN-WAN routing mc Windows Networking 5 12-03-2008 03:22 PM
Win2003 R2 server just stops routing traffic until I restart Routing service Martijn Tonies Windows Networking 8 11-03-2008 11:05 AM
IP Routing ITCOM Windows Networking 1 07-30-2007 04:29 PM
I not find the NAT/Basic Firewall under Routing\IP Routing mtczx232@yahoo.com Windows Networking 2 12-16-2006 04:08 PM
routing between 2 nic ckwong19802003@yahoo.com Windows Networking 7 02-13-2006 01:43 PM



1 2 3 4 5 6 7 8 9 10 11