01-19-2012
Splitting eth0 traffic into two virtual interface
Hello everybody,
I have been reading many posts about this topic but I have no figure out how to solve it.
I need to split the traffic incoming on eth0 on two other interfaces (for instance one receiving on port 80 and the others on the other interface).
I cannot understand how to do that. I created bridge but it cannot receive traffic..
I know about ip route 2 but I need to give a interface name to a software of monitoring.. so I cannot just create childs..
How can I do?
Thanks a lot for your help
I would appreciate
Nick
9 More Discussions You Might Find Interesting
1. HP-UX
OS - HP-UX B.10.20 A 9000/777
Anyone know how to set up a virtual interface on HP-UX?
I've looked quickly through docs.hp.com and searched this site. No luck. And my HP Guru is sleeping today. (4 Replies)
Discussion started by: thehoghunter
4 Replies
2. HP-UX
Hello all,
I want to add a new virtual interface on HP-UX B.11.11 U 9000/800 box.
I know that ifconfig can be used to add the Virtual interface.
BUt i do not know the exact syntax. it some times gives plumb error if i try to add
# ifconfig vif0 10.1.10.1 up
plumb error: No such file... (3 Replies)
Discussion started by: supersumanth
3 Replies
3. Shell Programming and Scripting
How would i create virtual interface in linux to configure more than one IP address for a physical interface?
any help wll be appreciated.
https://www.unix.com/images/misc/progress.gif (1 Reply)
Discussion started by: salil2012
1 Replies
4. UNIX for Dummies Questions & Answers
Hi Guys,
is there a way to send traffic coming from the source iface (eth0, eth1)? i need to test traffic that will come from both eth0 and eth1 from a Linux box.
Thanks,
Martin (0 Replies)
Discussion started by: mdap
0 Replies
5. AIX
Hi,
I am totally new to AIX. I would like to know how to create virtual interface on AIX machine.
Thanks,
Pooja (4 Replies)
Discussion started by: pooja84k
4 Replies
6. IP Networking
hi,
Could some one answer this please
we have a program with client socket declared which connect to a server
for the above program description we wont send an interface information ... let us suppose, I have two interfaces (eth0 , eth1) which are assigned some ip, which interface the... (1 Reply)
Discussion started by: Gopi Krishna P
1 Replies
7. Linux
Hi all,
OS: fedora release 10
when i try to restart network service, ending up with following errors. There are two interfaces eth0 and eth1
bringing up interface eth0 rtnetlink answers file exists
error adding <IP Address here> to eth0
bringing up interface eth0 rtnetlink answers... (2 Replies)
Discussion started by: lramsb4u
2 Replies
8. Solaris
Solaris-9 server is having one primary IP 10.41.161.14 on qfe0 and 10.41.116.0 on qfe3:1. Traffic is going through virtual interface instead of physical interface. How should I force traffic to go with primary interface.
root@smtsrvn01:/# netstat -nr
Routing Table: IPv4
Destination ... (2 Replies)
Discussion started by: solaris_1977
2 Replies
9. IP Networking
Server is stuck at "Stuck at "bringing up interface eth0:""
after i hard reset the server
I have IPMI access, please help me diagnose the cause if you can :( (0 Replies)
Discussion started by: postcd
0 Replies
FAITH(4) BSD Kernel Interfaces Manual FAITH(4)
NAME
faith -- IPv6-to-IPv4 TCP relay capturing interface
SYNOPSIS
device faith
DESCRIPTION
The faith interface captures IPv6 TCP traffic, for implementing userland IPv6-to-IPv4 TCP relay like faithd(8).
Each faith interface is created at runtime using interface cloning. This is most easily done with the ifconfig(8) create command or using
the cloned_interfaces variable in rc.conf(5).
Special action will be taken when IPv6 TCP traffic is seen on a router, and the routing table suggests to route it to the faith interface.
In this case, the packet will be accepted by the router, regardless of the list of IPv6 interface addresses assigned to the router. The
packet will be captured by an IPv6 TCP socket, if it has the IN6P_FAITH flag turned on and matching address/port pairs. As a result, faith
will let you capture IPv6 TCP traffic to some specific destination addresses. Userland programs, such as faithd(8) can use this behavior to
relay IPv6 TCP traffic to IPv4 TCP traffic. The program can accept some specific IPv6 TCP traffic, perform getsockname(2) to get the IPv6
destination address specified by the client, and perform application-specific address mapping to relay IPv6 TCP to IPv4 TCP.
The IN6P_FAITH flag on a IPv6 TCP socket can be set by using setsockopt(2), with level IPPROTO_IPV6 and optname IPv6_FAITH.
To handle error reports by ICMPv6, some ICMPv6 packets routed to an faith interface will be delivered to IPv6 TCP, as well.
To understand how faith can be used, take a look at the source code of faithd(8).
As the faith interface implements potentially dangerous operations, great care must be taken when configuring it. To avoid possible misuse,
the sysctl(8) variable net.inet6.ip6.keepfaith must be set to 1 prior to using the interface. When net.inet6.ip6.keepfaith is 0, no packets
will be captured by the faith interface.
The faith interface is intended to be used on routers, not on hosts.
SEE ALSO
inet(4), inet6(4), faithd(8)
Jun-ichiro itojun Hagino and Kazu Yamamoto, An IPv6-to-IPv4 transport relay translator, RFC3142.
HISTORY
The FAITH IPv6-to-IPv4 TCP relay translator first appeared in the WIDE hydrangea IPv6 stack.
BSD
April 10, 1999 BSD