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

(usagi-users 01350) request for any comment of my ipv6 configuring scripts



 Hi! Usagi users.

 

I wanted to make simple PC-based router with USAGI program.

After proper kernel compiling and using relating sample scripts,

I deployed simple network but it did not work.

PC-baced router did not forward IPv6 packet but did IPv4 packet

My network configuration is as follow.

 

PC-based router is connected so that one(eth0) is to local host and

the other(eth1) is to another router(Cisco4000).

address info.

1) PC-based router 

- eth0 : 2001:270:1f:100::1/64

- eth1 : 2001:270:1f:200::2/64

2) Local Host

- eth0 : 2001:270:1f:100::2

3) Default gw(Cisco4000)

- 2001:270:1f:200::1/64

 

And I have attached some scriptfiles(ifcfg-*, static route-ipv6, network) and

monitoring(via tcpdump) file to help understand my configuration.

 

I wish I have any comment and help from USAGI users.

Have nice day!

 

 

 


DEVICE=eth0
BOOTPROTO=static
IPADDR=211.32.113.89
NETMASK=255.255.255.248
NETWORK=211.32.113.88
BROADCAST=211.32.113.95
ONBOOT=yes

IPV6INIT=yes
IPV6FORWARDING=yes
IPV6_ROUTER=yes
IPV6ADDR="2001:270:1F:100::1/64"
IPV6_AUTOCONF=no
DEVICE=eth1
IPADDR=211.32.113.66
NETMASK=255.255.255.248
NETWORK=211.32.113.64
BROADCAST=211.32.113.71
ONBOOT=yes
#BOOTPROTO=none

IPV6INIT=yes
IPV6FORWARDING=yes
IPV6ADDR="2001:270:1f:200::2/64"
IPV6_AUTOCONF=no
IPV6_ROUTER=yes
NETWORKING=yes
FORWARD_IPV4=true
HOSTNAME=leman
DOMAINNAME=dacom.net
GATEWAY=211.32.113.65
GATEWAYDEV=eth1

NETWORKING_IPV6=yes
IPV6FORWARDING=yes
IPV6INIT=yes
IPV6_AUTOCONF=no
IPV6_ROUTER=yes
IPV6_AUTOTUNNEL=no
IPV6_DEFAULTGW="2001:270:1f:200::1"
IPV6_DEFAULTDEV=eth1
#Device ipv6 network to route

eth0	2001:270:1f:100::/64	2001:270:1f:200::1
eth1	2001:270:1f:200::/64	2001:270:1f:200::1
#eth0	2001:270:1f:100::/64	2001:270:1f:200::2
eth1	::0/0			2001:270:1f:200::1
Script started on Sun Apr  7 12:25:01 2002
]0;root@leman:/[root@leman /]# tcpdump -t -n -i eth0 -s 52\  12 --v  vv ip6 or proto ipv6
tcpdump: listening on eth0
2001:270:1f:100::2 > 2001:270:1f:200::1: icmp6: echo request (len 64, hlim 64)
2001:270:1f:100::2 > 2001:270:1f:200::1: icmp6: echo request (len 64, hlim 64)
2001:270:1f:100::2 > 2001:270:1f:200::1: icmp6: echo request (len 64, hlim 64)
2001:270:1f:100::2 > 2001:270:1f:200::1: icmp6: echo request (len 64, hlim 64)
2001:270:1f:100::2 > 2001:270:1f:200::1: icmp6: echo request (len 64, hlim 64)
fe80::250:daff:fe63:8864 > 2001:270:1f:100::1: icmp6: neighbor sol: who has 2001:270:1f:100::1(src lladdr: 0:50:da:63:88:64) (len 32, hlim 255)
2001:270:1f:100::1 > fe80::250:daff:fe63:8864: icmp6: neighbor adv: tgt is 2001:270:1f:100::1(RS) (len 24, hlim 255)
2001:270:1f:100::2 > 2001:270:1f:200::1: icmp6: echo request (len 64, hlim 64)
2001:270:1f:100::2 > 2001:270:1f:200::1: icmp6: echo request (len 64, hlim 64)
2001:270:1f:100::2 > 2001:270:1f:200::1: icmp6: echo request (len 64, hlim 64)
2001:270:1f:100::2 > 2001:270:1f:200::1: icmp6: echo request (len 64, hlim 64)
2001:270:1f:100::2 > 2001:270:1f:200::1: icmp6: echo request (len 64, hlim 64)
2001:270:1f:100::2 > 2001:270:1f:200::1: icmp6: echo request (len 64, hlim 64)
2001:270:1f:100::2 > 2001:270:1f:200::1: icmp6: echo request (len 64, hlim 64)
2001:270:1f:100::2 > 2001:270:1f:200::1: icmp6: echo request (len 64, hlim 64)
2001:270:1f:100::2 > 2001:270:1f:200::1: icmp6: echo request (len 64, hlim 64)
2001:270:1f:100::2 > 2001:270:1f:200::1: icmp6: echo request (len 64, hlim 64)
2001:270:1f:100::2 > 2001:270:1f:200::1: icmp6: echo request (len 64, hlim 64)
2001:270:1f:100::2 > 2001:270:1f:200::1: icmp6: echo request (len 64, hlim 64)
2001:270:1f:100::2 > 2001:270:1f:200::1: icmp6: echo request (len 64, hlim 64)
2001:270:1f:100::2 > 2001:270:1f:200::1: icmp6: echo request (len 64, hlim 64)


21 packets received by filter
0 packets dropped by kernel
]0;root@leman:/[root@leman /]# 
Script done on Sun Apr  7 12:26:27 2002