Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
09-14-2010, 04:10 AM
|
#1
|
Member
Registered: Oct 2006
Location: High Wycombe, Bucks, UK.
Distribution: Debian and Fedora Core in equal measure
Posts: 264
Rep:
|
Dual Stack IPv4/IPv6 on Ubuntu 10.04?
I have a clean install of Ubuntu 10.04 running with a wireless connection to an IPv4 gateway to the Internet, and an Ethernet connection to a Cisco 877 with an IPv6 tunnel to Hurricane Electric.
The tunnel is up and pings OK. The Ethernet has an IPv6 address, gained from RAs from the 877, and it *should* get a DHCP-provided IPv4 address, though I don't see it working like that when id do an ifconfig
Unless I have both the Wireless IPv4 link and the IPv6 Ethernet connected, I cannot browse or resolve addresses, though with both links live, I can broes to IPv4 and IPv6 addresses(I know this because I'm using the Firefox plug-in that shows the address type in the bottom right corner)
It looks like the Ethernet link is not coming up dual stack. It works OK IPv6, because I can browse through the tunnel, but it doesn't resole names unless the IPv4 wireless connection is up.
Those are the symptoms. Is there a trick to geting Ubuntu to work Dual Stack? have I made a stupid mistake anywhere in the description above?
|
|
|
09-14-2010, 04:01 PM
|
#2
|
Moderator
Registered: Mar 2008
Posts: 22,293
|
Are you saying you want the tunnel to get an ipv4 address or the actual nic to get an ipv4 address?
|
|
|
09-15-2010, 03:49 AM
|
#3
|
Member
Registered: Oct 2006
Location: High Wycombe, Bucks, UK.
Distribution: Debian and Fedora Core in equal measure
Posts: 264
Original Poster
Rep:
|
What I want ideally is as follows:
* on the router, the tunnel should provide an IPv6 virtual interface as default gateway, and the native operation of the router should provide an IPv4 address on the physical hardware (should it look like a default gateway....I think not, or we have two default gateways, which is never a good idea!). I think I have that setup at the moment on the router, even to the point where the IPv6 tunnel interface is my default gateway.
* In addition, I want a DHCP-administered IPv4 address on the NIC (the router manages a DHCP pool, so that should be easy enough) and an IPv6 address on the NIC, allocated under router control, probably as a result of stateless DHCP (RA should deliver that).
However, it seems that whenever I get an IPv6 address on the NIC, it does not want to support IPv4, so I have to have the second NIC to give IPv4 connectivity, which complicates the routing considerably!
|
|
|
09-20-2010, 06:27 AM
|
#4
|
Member
Registered: Oct 2006
Location: High Wycombe, Bucks, UK.
Distribution: Debian and Fedora Core in equal measure
Posts: 264
Original Poster
Rep:
|
Odd, It appears intermittent. The hardware is known good, as it is on a dual-boot machine that works fine on other OS. However, when Ubuntu boots, it fails to bring Eth0 up. If you click on the icon (top right) it tries to connect, and usually fails unless you go into config and examine/confirm the configs. Although this changes nothing, the link then comes up...though it may be that all I'm doing by examining the config is delaying long enough for the link to establish, though I have tested both with and without delay and can not establish a clear pattern.
Question: on a dual-stack interface, will the interface come up as soon as the IPv4 (DHCP-served) address is available (fairly quick), or will it hold the interface down until the ipv6 address is also available (depends upon RAs, can be slow)?
|
|
|
All times are GMT -5. The time now is 08:29 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|