Unix Technical Forum

Packet Forwarding Setup

This is a discussion on Packet Forwarding Setup within the Linux Operating System forums, part of the Unix Operating Systems category; --> Hi. I have a requirement like below: (Host A) Traffic Generator -> (eth0) Linux box with Two NICs (eth1)---->Router's ...


Go Back   Unix Technical Forum > Unix Operating Systems > Linux Operating System

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-18-2008, 07:54 PM
rramesh1@gmail.com
 
Posts: n/a
Default Packet Forwarding Setup

Hi.

I have a requirement like below:

(Host A)
Traffic Generator -> (eth0) Linux box with Two NICs (eth1)---->Router's
Interface

I have a 192.168.x.x /24 IP setup on the eth0, my requirement is to get
the traffic generated from Host 'A' to eth1 (ideally forwarded from
eth0). At this point I have two questions:

1) If I need to get the traffic from eth0 to eth1, should I setup eth1
to have a 192.168.x.x IP? and set a default route to eth1 IP ?

2) Is there any other approach (which will just fwd all packets on eth0
to eth1 irrespective of the IP - at the MAC level) to do this?

Thanks & Regards
Ramesh

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 02:39 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com