| Windows 7: Two systems: why is one using IPv4, the other IPv6? |
04 Dec 2009
|
#1 | | |
Two systems: why is one using IPv4, the other IPv6? I installed Windows 7 on two computers this week here at home. They are both connected to the same NAT router (which connects me to my DSL connection), so this is a VERY conventional setup.
IPconfig shows, that both systems have an IPv4 as well as IPv6 running, both consequently also have two addresses (an IPv4 as well as an IPv6 address), though the connection to the internet is IPv4 only.
Now I just noticed, that if I ping computer 1 from computer 2 the name resolves to an IPv4 address (192.168.1.12). If I ping in the other direction the name is resolved to an IPv6 address (fe80::281a:b9de:5543:3b62%11). I have installed both systems from the very same CD and I didn't do anything special nor different regarding networking. So why is one PC resolving system names using IPv6, the other IPv4?
In principle I couldn't care less which IP version the systems are using as long as connections work ok, but I am using a file synchronization utility that apparently compares addresses and if the subnets of the two system don't match switches to a mode where it synchronizes via a proxy out somewhere in the network.
If it detects, that both systems are in the same subnet, they connect directly which then runs much, much faster. That's why I need both system to use the same subnet and hence they should both use the same default IP stack.
Can one change the preference or order of these stacks?
Michael | My System Specs |
| System Manufacturer/Model Number Lenovo T60p & Motion Computing LE1700 OS 2x Windows 7 |
04 Dec 2009
|
#2 | | |
Hi.
Not sure why it's doing that. Did you install a 3rd party firewall on one and not the other?
If you're using static ip addresses, you can place entries for each machine on the network in the hosts file.
C:\Windows\System32\ drivers\etc\hosts
Open it with notepad. It's basically the system's first dns server.
Or you can test ping like this: ping -4 hostname
ping ipaddresshere | My System Specs | | System Manufacturer/Model Number self built OS 7600.20510 x86 CPU P4 550 3.4 GHz HT running at 3.5 GHz Motherboard MSI PM8M3-V (MS-7211 v1.x) Micro-ATX mainboard Memory OCZ 2 GB(2x1GB) DDR400mHz running @ 414 mHz Graphics Card HIS Radeon HD 3850 IceQ 3 Turbo HDMI Dual DL-DVI AGP Sound Card MOTU Traveler firewire studio interface 192 kHz 24 bit Monitor(s) Displays 22" widescreen Acer X223W LCD, 17" Compaq P75 CRT Screen Resolution 1680x1050 and 1280x1024 Keyboard Logitch Classical Keyboard 200 Mouse Logitech Mediaplay cordless PSU 350W generic Case Cybertronpc, it glows blue Cooling stock cpu fan, Ice-Q 3 gpu and system, many case fans Hard Drives SATA I x2 WD, 400 GB and 120 GB, SATA 2 WD Caviar Black 1 TB Internet Speed 1792/448 kbits/sec Other Info SATA II PCI fake RAID adapter, 1 GB Readyboost, original ATI Remote Wonder (even works with WMC perfectly), Logitech Rumblepad 2 game controller x2 |
04 Dec 2009
|
#3 | | Win 8 Release candidate 8400 |

Quote: Originally Posted by mmo I installed Windows 7 on two computers this week here at home. They are both connected to the same NAT router (which connects me to my DSL connection), so this is a VERY conventional setup.
IPconfig shows, that both systems have an IPv4 as well as IPv6 running, both consequently also have two addresses (an IPv4 as well as an IPv6 address), though the connection to the internet is IPv4 only.
Now I just noticed, that if I ping computer 1 from computer 2 the name resolves to an IPv4 address (192.168.1.12). If I ping in the other direction the name is resolved to an IPv6 address (fe80::281a:b9de:5543:3b62%11). I have installed both systems from the very same CD and I didn't do anything special nor different regarding networking. So why is one PC resolving system names using IPv6, the other IPv4?
In principle I couldn't care less which IP version the systems are using as long as connections work ok, but I am using a file synchronization utility that apparently compares addresses and if the subnets of the two system don't match switches to a mode where it synchronizes via a proxy out somewhere in the network.
If it detects, that both systems are in the same subnet, they connect directly which then runs much, much faster. That's why I need both system to use the same subnet and hence they should both use the same default IP stack.
Can one change the preference or order of these stacks?
Michael Michael
Its is actually easy. Homegroup uses IPv6, workgroup uses ipv4. If you were to change from homegroup to workgroup it would have no choice but to use the same IPv4. PLus you can disable IPv6 just to be sure. Same subnet, same router.
Hope it helps
Ken J+ | My System Specs | | System Manufacturer/Model Number HP Pavillion dv-7 1005 Tx OS Win 8 Release candidate 8400 CPU 2@2.4 Memory 4 gigs Graphics Card Nvidia 9600M Sound Card HD built-in Monitor(s) Displays 17" Wxga Screen Resolution 1440x900 Cooling none Internet Speed 45Mb down 5Mb up |
04 Dec 2009
|
#4 | | Windows 7 7600 1 X64 Lake Buena Vista The Magic Kingdom |
In principle you will have to decide which internal address you want to sync both machines, as ken has suggested both machines from within the LAN will need identical address. Another issue will be "Port Triggering" AKA Port forwarding. With the routers native firewall its designed not to let traffic in. | My System Specs | | System Manufacturer/Model Number Custom Build OS Windows 7 7600 1 X64 CPU AMD PHENOM II X 550 PROCESSOR 3.1 ghz Motherboard ASUS M4A78-TE Memory Corsair 4 gig ddr 3 Graphics Card ati radeon 3300 Sound Card ati hd Monitor(s) Displays syncmaster 2033sw Screen Resolution 1600X900 60 hz refresh PSU antec_550 watt Case cooler master GLite Cooling stock_heat sink Hard Drives twin_seagates SATA's 1 TB & 500 Gig, hitachi_slimline 160 gig Internet Speed 20mbs up/ 1.5mbs down Other Info favorite child "stewie"
favorite dog "brian" |
05 Dec 2009
|
#5 | | |

Quote: Originally Posted by zigzag3143 ..workgroup uses ipv4. If you were to change from homegroup to workgroup it would have no choice but to use the same IPv4. Workgroup does not force IPv4! Nor is the problem Homegroup or Workgroup, the problem is one machine is referencing the other using a different IP scheme. This can be due to several reasons. First-in-first-out comes to mind. When doing a lookup on the machine name it looks for the first entry that it finds, could be an IPv4 or IPv6 address. To avoid this wildcard lookup, you can either force one address scheme over another. (Normally offered in software...ping for example offers -4 and -6 switches)
You can try this option, in the Advance settings for either IPv4 or IPv6, go to the DNS tab and toggle "Register this connection's addresses in DNS" on or off.
A Workgroup setup works independent of the IP address scheme, why else do you think Windows Vista can use Workgroups in an IPv6 environment? | My System Specs | | Computer type PC/Desktop System Manufacturer/Model Number Alienware Aurora ALX R4 OS Windows 7 x64 (SP1) CPU Intel Core i7-3930K (3.2GHz, Turbo 4GHz) Motherboard Alienware Aurora-R4 x79 Memory 4x Samsung 4GB PC3-12800 DDR3 (16GB 1600MHz) Graphics Card Nvidia Geforce GTX 690 (Stock) Sound Card RealTek Integrated Audio Monitor(s) Displays Dell UltraSharp U3011 Screen Resolution 2560x1600 PSU 875W Some Dell PSU <.< Hard Drives Samsung P830 256 GB, WD Raptor 150GB, 2x 1TB HDDs Other Info Dell Inspiron Mini 10v (Intel Atom N270 1.6 GHz; 1GB; Windows 7 Ultimate) Two systems: why is one using IPv4, the other IPv6? problems? All times are GMT -5. The time now is 01:20 AM. | |