I am not using NAT, and not even set up the virtual interface yet.
I just have one simple internet connection, linked to my eth0 interface.
I am more looking for general tips to start conceiving the implementation.
Code:
ifconfig
eth0 Link encap:Ethernet HWaddr 00:1b:24:58:d9:3e
inet adr:213.100.46.180 Bcast:213.100.46.191 Masque:255.255.255.192
adr inet6: fe80::21b:24ff:fe58:d93e/64 Scope:Lien
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Packets reçus:6028 erreurs:0 :0 overruns:0 frame:0
TX packets:5632 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 lg file transmission:1000
Octets reçus:5445567 (5.4 MB) Octets transmis:952514 (952.5 KB)
Interruption:29 Adresse de base:0xe000
lo Link encap:Boucle locale
inet adr:127.0.0.1 Masque:255.0.0.0
adr inet6: ::1/128 Scope:Hôte
UP LOOPBACK RUNNING MTU:16436 Metric:1
Packets reçus:0 erreurs:0 :0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 lg file transmission:0
Octets reçus:0 (0.0 B) Octets transmis:0 (0.0 B)
Code:
ip route :
213.100.46.128/26 dev eth0 proto kernel scope link src 213.100.46.180 metric 1
169.254.0.0/16 dev eth0 scope link metric 1000
default via 213.100.46.129 dev eth0 proto static
I can try to be clearer:
I want my device to act like an intelligent bridge. It will receive packets on the eth0 interface. If the packet is an RTP flow, with a specific IP destination address, it will be sent to a virtual network interface. if not, the packet will be delivered normally.
In the virtual interface, all the RTP frames will be aggregated into one big multiplexed frame, before being sent to the second network interface.
Thanks for your patience guys !!