LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 09-12-2007, 10:01 AM   #1
tlemons
Member
 
Registered: Jun 2004
Posts: 39

Rep: Reputation: 15
How to set IPv6 address on IPv6 router


Hi

I'm running radvd on a SLES 9 SP 3 system, so that it can function as an IPv6 router. I need to assign a global unicast address to this system. Other systems in my lab acquire their IPv6 address from this router. But the router doesn't seem to provide itself with an address when it boots, which isn't very surprising.

So what is the best method of assigning a static IPv6 address to an IPv6 router? I didn't see anyplace in YaST to do this, nor did I find an existing script that seemed to do the trick.

Thanks
tl
 
Old 09-16-2007, 10:30 AM   #2
raskin
Senior Member
 
Registered: Sep 2005
Location: Russia
Distribution: NixOS (http://nixos.org)
Posts: 1,893

Rep: Reputation: 68
So, what is your mode of using IPv6? Does your ISP support IPv6? Do you want this global address globally accessible? Do you have a globally accessible IPv4 address?

If you do not need global accessibility, you may just assign address at random using 'ip' or 'ifconfig', but it doesn't seem to be what you want. You can place this in init scripts to be done automatically.

If you want to get IPv6 address from provider, you either need to have something like DHCP6 or just ask it and set this address as in the first case.

If you have an external IPv4, search the web for 6to4, 'sit0' is also a good search term (I do not have external IPv4, so I haven't used any of such solutions).

As a last resort, use tunnel broker. Personally I use go6.net (=freenet6.hexago.com, =freenet6.net), it is a free IPv6 tunnel broker which doesn't require to enter excessive personal data (e-mail and Name/Surname, that are not claimed to be verified; and all the data you send to Internet unencrypted will pass their servers - just as with ISP's). It will give you decent speed and a small globally accessible IPv6 subnet. It will go through most NAT's, though I need sometimes to help the keep-alive process by pinging freenet6.hexago.com (double NAT, though..).
 
Old 09-17-2007, 08:55 AM   #3
tlemons
Member
 
Registered: Jun 2004
Posts: 39

Original Poster
Rep: Reputation: 15
Hi

Thanks for the reply. I want to manually set an IPv6 address that I've been assigned on a system in our engineering lab. I know that I can use 'ip' or 'ifconfig'. But, in what init script is the best placed? I want to put it in 'the obvious place', but I don't know what that is on SLES 9.

Thanks!
tl
 
Old 09-17-2007, 01:25 PM   #4
raskin
Senior Member
 
Registered: Sep 2005
Location: Russia
Distribution: NixOS (http://nixos.org)
Posts: 1,893

Rep: Reputation: 68
Well, I would say 'wrong forum'.. General ideas (applicable to any SysV init):
1) look for 'network*' in init.d . There is probably something like that. It is usually an acceptable place.
2) Try rc.local maybe.
3) Try creating your own script in init.d
4) Check if your existing networking script accepts IPv6 addresses in, say, /etc/*/*if*up* or something like that (/etc/sysconfig/network maybe..).
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
I get IPV6 address and no IPV4. Why? erics_acvw Linux - Networking 2 10-22-2006 08:12 PM
IPv6 address ????????? hegdeshashi Programming 3 06-19-2006 03:13 AM
getting IPv6 address lacitpo Linux - Networking 1 03-18-2005 11:09 AM
Can't assign a static IPv6 address guzo Linux - Networking 0 02-11-2005 06:22 AM
how to get ipv6 address from socketaddr_in6? walkant Linux - Networking 0 11-07-2004 08:47 PM


All times are GMT -5. The time now is 11:47 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration