[LARTC] Am I on the right Track?

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi there,
Is it possible to somehow have a fairly basic routing level in order to
forward packets from eth1 to eth0?  Simply using "route"?

I have a Cisco that has a local network IP.  It is on eth0 interface.  I
have a Switch on eth1.  I want to supply eth1 with a Real World IP which
comes through the Cisco.

Any guidance available?

I assigned 10.0.0.2 on eth0 and 210.54.149.189 on eth1.
then I did this:
route add -net 10.0.0.0 netmask 255.255.255.0 gw 10.0.0.1 dev eth0
route add -net 210.54.149.160 netmask 255.255.255.224 gw 10.0.0.1 (which
says network unreachable)

Could someone please tell me how I could solve this?

Regards,

Sahil Gupta
NET4U Limited

------------------------------------
      NET4U -- www.net4u.co.nz      
 Home of the new - $24.95 128k ADSL
Nationwide Internet Service Provider
------------------------------------



[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux