Modify

Opened 9 years ago

Closed 8 years ago

#4724 closed enhancement (fixed)

6tunnel doesn't support delegated blocks

Reported by: davygrvy@… Owned by: florian
Priority: normal Milestone:
Component: packages Version: Kamikaze trunk
Keywords: 6tunnel ipv6 Cc:

Description

Hi,

I needed to put delegated block assignments directly into /etc/init.d/6tunnel's start_service() script.

ip tunnel add $tnlifname mode sit remote $remoteip4 local $localip4 ttl
ip link set $tnlifname up
ip addr add ${localip6}/127 dev $tnlifname
ip route add ::/0 dev $tnlifname
ip route add 2000::/3 dev $tnlifname
ip addr add 2001:470:1f05:c77::/64 dev $LAN
ip addr add 2001:470:1f05:c77::1/64 dev $LAN

The last two lines I had to add. Second line was changed to use the route2 form. 3rd line needed the /127

I'm not much of shell script hacker. It would be nice if /etc/config/6tunnel had the places to put the delegated block info.

Attachments (0)

Change History (4)

comment:1 Changed 9 years ago by davygrvy@…

here it is again with better formatting

ip tunnel add $tnlifname mode sit remote $remoteip4 local $localip4 ttl 255
ip link set $tnlifname up
ip addr add ${localip6}/127 dev $tnlifname
ip route add ::/0 dev $tnlifname
ip route add 2000::/3 dev $tnlifname
ip addr add 2001:470:1f05:c77::/64 dev $LAN
ip addr add 2001:470:1f05:c77::1/64 dev $LAN

comment:2 Changed 9 years ago by florian

  • Owner changed from developers to florian
  • Status changed from new to assigned

Could you submit a path that allows an user to supply a delegation prefix ?

comment:3 Changed 9 years ago by anonymous

Nope! I have figured-out how the config system works.

comment:4 Changed 8 years ago by florian

  • Resolution set to fixed
  • Status changed from accepted to closed
  • Version set to Kamikaze trunk

Fixed with r20206.

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.