Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I had this question about ipv6 forwarding.I have an Ubuntu machine with 2 network interfaces (eth0,eth1). Lets say the interface eth1 supports ipv6 addressing and has an ipv6 address of bbbb::100/64. Now when I enable ipv6 forwarding on the ubuntu machine and ping bbbb::100 from another computer on the same LAN on eth0, I can see the message reaching the interface eth1 on wireshark. now I am really curious as to how this works. The first neigbour solicitation should be going through my router. The router looks up its ipv6 neighbour table and sees that there is no match so it does a link local broadcast. Thats the first time, and the interface eth1 responds since the interface eth0 forwards the ip packet which is not meant for it into the interface eth1. But after this I am curious as to how a path is established between the eth0 interface and eth1.

How do all messages with the prefix bbbb::100 get routed into the interface eth1 ? How does the router know that when a packet comes in with bbbb::100 it should forward it to the eth0 interface which will then forward it to the eth1 interface. From eth0 to eth1 I get how it works. But how does the router know it should forward it to the eth0 interface on the Ubuntu computer on the first place.

In essence how does a router route to a eth1 interface on a computer when ipv6 forwarding is enabled on the same computer which has the eth0 interface.

So lets say eth1 has a host: Lets call it host A.

eth0 has a host . host c

The ubuntu computer is host B(both eth0 and eth1 is prsent here)

I will refer to the router as Router.

So when C pings A, it goes through the router to B. B forwards it to the eth1 interface and then A listens and responds. So this is okay for link local broadcast . But what about unicast . How will the routing take place?

share|improve this question

closed as unclear what you're asking by Shane Madden, Zoredache, mdpc, Ward, Falcon Momot Sep 4 '13 at 5:45

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question.If this question can be reworded to fit the rules in the help center, please edit the question.

    
Your question is very confusing; I can't understand what you're asking. You might like to try clarifying it. –  fukawi2 Sep 4 '13 at 1:36
2  
Can I buy a carriage return? –  Zoredache Sep 4 '13 at 1:51
    
Well , what is it exactly that is not clear. I can try simplifying it in the question then –  loopy Sep 4 '13 at 2:08
    
Hopefully this clearer now –  loopy Sep 4 '13 at 2:11
    
No, it still isn't clear at all. I can't tell what your topology is, and the reason is going to be in the topology. –  Falcon Momot Sep 4 '13 at 5:45

Browse other questions tagged or ask your own question.