Vineet Garg
|
io-net behavior with multiple cells
|
Vineet Garg
07/07/2010 12:52 PM
post58852
|
io-net behavior with multiple cells
Hi
I have a system where io-net modules are arranged as follows:
cell 1, endpoint 0: ethernet up producer (responsible for interfaces en0 & en1)
cell 1, endpoint 1: ethernet up producer (responsible for interface en2)
cell 2, endpoint 0: ppp up producer ( responsible for interface ppp0)
Same module registers IP-PPP convertor module to io-net
Question:
=====
How does stack determine which packets need to go through ppp interface? I ask this because my route table (shown below) is unable to explain this to me!
For example, if i ping 10.10.13.13 using example below, i do not know how stack determines that ppp0 is the correct outgoing interface.
When is the interface ppp0 (for that matter any other interface) is created? Is this when driver registers to io-net? so any ifconfig commands on that interface works only after driver has registered, right?
Any pointer to detailed explanation of what happens during io-net registration will be very helpful?
Regards
VG
ifconfig output
============
ifconfig
lo0: flags=8009<UP,LOOPBACK,MULTICAST> mtu 33212
capabilities=7<IP4CSUM,TCP4CSUM,UDP4CSUM>
enabled=0<>
inet 127.0.0.1 netmask 0xff000000
en0: flags=842<BROADCAST,RUNNING,SIMPLEX> mtu 1500
address: 00:40:43:32:87:f8
en1: flags=843<UP,BROADCAST,RUNNING,SIMPLEX> mtu 1500
address: 90:70:20:01:88:00
inet 10.118.209.171 netmask 0xffffff00 broadcast 10.118.209.255
ppp0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
address: 00:e0:00:00:e0:00
inet 192.168.253.145 netmask 0xffffffc0 broadcast 192.168.253.191
inet alias 10.10.12.13 netmask 0xffffff00 broadcast 10.10.12.255
en2: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
address: 00:40:43:15:03:cb
inet 192.168.255.126 netmask 0xffffff80 broadcast 192.168.255.127
inet alias 192.168.255.125 netmask 0xffffff80 broadcast 192.168.255.127
route show output
============
Destination Gateway Flags
default 10.118.209.1 UG
10.10.12.0 10.10.12.13 U
10.10.12.13 10.10.12.13 UH
10.10.13.13 10.10.13.13 UH
10.118.209.0 link#3 U
10.118.209.1 0:f:34:2b:64:c7 UH
10.118.209.103 0:15:17:b9:bb:f4 UH
10.118.209.106 0:21:9b:6d:90:e4 UH
10.118.209.171 90:70:20:1:88:0 UH
127.0.0.1 127.0.0.1 UH
192.168.253.128 192.168.253.145 U
192.168.253.145 192.168.253.145 UH
192.168.255.0 link#5 U
192.168.255.1 1a:70:1f:37:9:18 UH
192.168.255.126 0:40:43:15:3:cb UH
255.255.255.255 10.118.209.171 UG
|
|
|