Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Let me describe my situation:

  1. while I connect computer with the wire, I've got an IPV6 address automatically, there's a "Wired connection" tab in network manager, and I can access an website that support IPV6 (google,facebook,twitter...)with a hosts file, or use the proxy like google.com.sixxs.org
  2. But if I want to access the whole internet, I have to create a DSL connection with username and password that ISP gave me. BUT after I change my connection into this DSL connection, I cannot access website over IPV6, even there's the site's ipv6 address in /etc/hosts, then I realize that I lose my IPV6 connection, because the ping6 says connect: Network is unreachable.
  3. the problem is, there's no IPV6 tab or options about IPV6 in the configure of DSL connection. It feels like I can only use one connection at the same time, but the DSL doesn't support IPV6 and the wired connection doesn't support IPV4(I mean, there's no way to input the password the ISP gave me)
  4. maybe make somebody uncomfortable, but when I work in MS windows, there's no such problem, (maybe just feel like) I can access V4 and V6 at the same time.
  5. So how to solve with this? thanks a lot.
  6. I'm in 11.10 + gnome3
share|improve this question
    
xDSL connection is IP agnostic. But you should have a router either connected to the xDSL modem or built into the modem. That router has to support IPv6. Newer MS Windows sets up a tunnel if no IPv6 and only IPv4. I would like to have some data about your net. Like ip add show, ip -6 route show, ip neigh show and ip madd show. And you should update your Ubuntu OS to at least 14.04 LTS or 14.11. –  Anders Nov 12 at 0:40

2 Answers 2

Enter the connection manager(Network Connections). Select the Wired tab. Click on your connection and click edit. Under the IPv4 tab, select Manual. Your settings will be as follows:

1)Addresses: I recommend 192.168.1.99, if that does not work, use 192.168.0.99

2)DNS servers: 8.8.8.8 (Google's recursive DNS)

3)Search domains: example.com

4)Click Save. Now you should have both IPv4 and IPv6.

If you need to, disconnect and reconnect, or reboot.

share|improve this answer
    
well...but, where should I input the username and password that ISP gave me? –  namiheike Apr 12 '12 at 14:01
    
@namiheike if you have a modem, you give the username/password to the modem. If not, than you do not even need those credentials as you can already connect via IPv6, which means you are allowed to connect in the first place. –  hexafraction Apr 12 '12 at 17:15
    
without username and password, how can I access the whole internet via ipv4, I mean, not all sites support v6, right? –  namiheike Apr 20 '12 at 5:51
    
Is it allowing you to connect at all to IPv4 without the password? –  hexafraction Apr 23 '12 at 23:20
    
no, just v6 supported sites. –  namiheike Apr 24 '12 at 0:22

For your point #2, the IPv6 network may be unreachable because it is blocked by the firewall. See if setting "IPV6=yes" in /etc/ufw/ufw.conf helps.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.