netdev
[Top] [All Lists]

sit configuration

To: coronach@xxxxxxxxxxxxxxxxx, netdev@xxxxxxxxxxx, sarikaya@xxxxxxxxxxxxxxxxxxxxx
Subject: sit configuration
From: Behcet Sarikaya <sarikaya@xxxxxxxxxxxxxxxxxxxxx>
Date: Sat, 12 Feb 2000 17:37:43 +0900
Organization: University of Aizu
Sender: owner-netdev@xxxxxxxxxxx
Hello Michael,
  I did like you said but it did not work!
Firstly, 1280 is required for tunnels to 6bone-jp, so I kept it at 1280.

I am attaching the v6 startup shell on tunnel endpoint machine
(163.143.180.107) which has two interfaces, so I create two prefixes
3ffe:501:427:1002 and 3ffe:501:427:1102 and I run mrtd, I am attaching
mrtd.conf as well.
  On the tunnel provider host, I ran a script to create sit2 and I
include this script (ipv6.sh.tun2).
On this host too I ahve two interface and I am running mrtd with a
similar conf file (with network sit2 added on ripng).
  Thanks in advance,

--
Behcet Sarikaya
Computer Communications Lab.


Attachment: ipv6.sh
Description: Bourne shell script

!####################################################################
! MRTd -- MRT version 1.4.9 Alpha [09/04/98]
!####################################################################
!
password merit
debug all /tmp/MRTd.log 100000
!
access-list 1 permit 3ffe:501:427::/48
access-list 1 deny all
!
!
router rip
 network eth0
 network eth1
 redistribute direct
 redistribute connected
!
router ripng
 network eth0
 network eth1
 redistribute direct
 redistribute connected
!
router ripng
  network sit1
  redistribute connected
  redistribute static
  redistribute direct
  distribute-list 1 out sit1
!
ip route 0.0.0.0/0 163.143.180.1
#!/bin/bash
ifconfig=/sbin/ifconfig
route=/sbin/route

## Initial MTU setting.
#$ifconfig sit0 

## local IP address 
# Your IPv6 prefix
PREFIX=3ffe:501:427
ADDRESS1=163.143.99.101
ADDRESS2=163.143.226.100
#PREFIX_LEN=48
PREFIX_LEN=64


## gateway IP address
TUNNEL_IPV4=203.178.136.188
Another_IPv6_Tunnel=163.143.180.107
Another_IPv6_Subnet=3ffe:501:427:1002


# tunnel 
#Another tunnel
$ifconfig sit0 tunnel ::$Another_IPv6_Tunnel
$ifconfig sit2 mtu 1280
$ifconfig sit2 up
$route -A inet6 add $Another_IPv6_Subnet::0/64 gw fe80::$Another_IPv6_Tunnel 
dev sit2

<Prev in Thread] Current Thread [Next in Thread>