LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 01-17-2008, 05:48 AM   #1
jayeshleo
LQ Newbie
 
Registered: Nov 2007
Posts: 3

Rep: Reputation: 0
Packet forwarding on IP aliases


Hi!

Can anyone tell me how i can forward a incoming packet on one IP to another IP on the same pc with one NIC(i.e. on aliases).And then to third IP belonging to second NIC on same pc. Am I clear?
Thanks in advance...
 
Old 01-17-2008, 06:01 PM   #2
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 65
I guess you create and Alias IP on the first nic so if say the first nic is eth0 the the first alias IP is eth0:0. Now if you are going to forward to an Alias IP nic like eth0:0 you must use the IP it is assigned. iptables cannot use Alais IP addressing like eth0:0

Brian
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Packet forwarding on IP Aliases jayeshleo Linux - Newbie 1 01-18-2008 09:48 AM
IP packet forwarding chamithranaweera Linux - Networking 6 03-06-2007 03:09 AM
packet forwarding? one.eleven Linux - Networking 19 11-08-2006 03:35 AM
packet fragmentation in packet forwarding code cranium2004 Linux - Networking 0 05-16-2005 04:05 AM
port forwarding and packet forwarding syrtsardo Linux - Newbie 2 07-03-2003 10:37 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 04:05 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration