LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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-14-2010, 03:10 AM   #1
jimbo1954
Member
 
Registered: Oct 2006
Location: High Wycombe, Bucks, UK.
Distribution: Debian and Fedora Core in equal measure
Posts: 264

Rep: Reputation: 33
Question 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?
 
Old 09-14-2010, 03:01 PM   #2
jefro
Moderator
 
Registered: Mar 2008
Posts: 20,763

Rep: Reputation: 3362Reputation: 3362Reputation: 3362Reputation: 3362Reputation: 3362Reputation: 3362Reputation: 3362Reputation: 3362Reputation: 3362Reputation: 3362Reputation: 3362
Are you saying you want the tunnel to get an ipv4 address or the actual nic to get an ipv4 address?
 
Old 09-15-2010, 02:49 AM   #3
jimbo1954
Member
 
Registered: Oct 2006
Location: High Wycombe, Bucks, UK.
Distribution: Debian and Fedora Core in equal measure
Posts: 264

Original Poster
Rep: Reputation: 33
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!
 
Old 09-20-2010, 05:27 AM   #4
jimbo1954
Member
 
Registered: Oct 2006
Location: High Wycombe, Bucks, UK.
Distribution: Debian and Fedora Core in equal measure
Posts: 264

Original Poster
Rep: Reputation: 33
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)?
 
  


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
How to enable duel ipv4/ipv6 stack on Linux bostan Linux - Networking 1 03-13-2010 07:30 PM
SIP traffic generator tool which support IPv6 - dual stack subscriber anilpand Linux - Networking 0 02-19-2010 11:10 AM
LXer: Linux Apache Dual Stacked IPv4 and IPv6 Configuration LXer Syndicated Linux News 0 08-29-2009 04:50 PM
IPV4/IPV6 Dual Stack Usage spotmax777 Linux - Networking 1 07-17-2007 07:25 PM
ipv4 vs. ipv6 radix Linux - Security 2 09-17-2003 01:39 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 07:31 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration