[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: What is wrong



On Thu, 18 Jan 2007, Pepo wrote:

I have an error, mi LAN is something like:

PC-a
fec0:2006:2007::a/125

fec0:2006:2007::9/125
routerA
fec0:2006:2007:333::2/126


fec0:2006:2007:333::1/126
routerB
fec0:2006:2007::1/125

fec0:2006:2007::2/125
PC-b

	The addresses you are using for network A (PC-a and routerA)
	and network B (PC-b and routerB) are the same.
	So from PC-a when you try to ping PC-b, the packet won't be
	forwarded by routerA, since it is assumed that PC-b is in the
	same network with PC-a, not in different network.

	So, if you want to try, why not change the addresses using
	to something like this:

PC-a
fec0:2006:2007:a::a/64
|
fec0:2006:2007:a::9/64
routerA
fec0:2006:2007:333::2/64
|
fec0:2006:2007:333::1/64
routerB
fec0:2006:2007:b::1/64
|
fec0:2006:2007:b::2/64
PC-b

and configure:
(routerA)
ip link set eth0 up
ip link set eth1 up
ip addr add fec0:2006:2007:a::9/64 dev eth0 ip addr add fec0:2006:2007:333::2/64 dev eth1 ip -6 route add fec0:2006:2007:b::/64 via fec0:2006:2007:333::1 dev eth1 metric 1

(routerB)
ip link set eth0 up
ip link set eth1 up
ip addr add fec0:2006:2007:b::1/64 dev eth0 ip addr add fec0:2006:2007:333::1/64 dev eth1
ip -6 route add fec0:2006:2007:a::/64 via fec0:2006:2007:333::2 dev eth1 metric 1

Cheers,
cj



Reply to: