Two systems: why is one using IPv4, the other IPv6?

mmo

New member
Member
Local time
5:03 PM
Messages
55
I installed Win7 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 Computer My Computer

At a glance

2x Windows 7
Computer Manufacturer/Model Number
Lenovo T60p & Motion Computing LE1700
OS
2x Windows 7
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 Computer My Computer

At a glance

7600.20510 x86P4 550 3.4 GHz HT running at 3.5 GHzOCZ 2 GB(2x1GB) DDR400mHz running @ 414 mHzHIS Radeon HD 3850 IceQ 3 Turbo HDMI Dual DL-...
Computer 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(s)
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
Hard Drives
SATA I x2 WD, 400 GB and 120 GB, SATA 2 WD Caviar Black 1 TB
PSU
350W generic
Case
Cybertronpc, it glows blue
Cooling
stock cpu fan, Ice-Q 3 gpu and system, many case fans
Keyboard
Logitch Classical Keyboard 200
Mouse
Logitech Mediaplay cordless
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
I installed Win7 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 Computer My Computer

At a glance

Win 8 Release candidate 8400[email protected]4 gigsNvidia 9600M
Computer Manufacturer/Model Number
HP Pavillion dv-7 1005 Tx
OS
Win 8 Release candidate 8400
CPU
[email protected]
Memory
4 gigs
Graphics Card(s)
Nvidia 9600M
Sound Card
HD built-in
Monitor(s) Displays
17" Wxga
Screen Resolution
1440x900
Cooling
none
Internet Speed
45Mb down 5Mb up
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 Computer My Computer

At a glance

Windows 7 7600 1 X64AMD PHENOM II X 550 PROCESSOR 3.1 ghzCorsair 4 gig ddr 3ati radeon 3300
Computer 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(s)
ati radeon 3300
Sound Card
ati hd
Monitor(s) Displays
syncmaster 2033sw
Screen Resolution
1600X900 60 hz refresh
Hard Drives
twin_seagates SATA's 1 TB & 500 Gig, hitachi_slimline 160 gig
PSU
antec_550 watt
Case
cooler master GLite
Cooling
stock_heat sink
Internet Speed
20mbs up/ 1.5mbs down
Other Info
favorite child "stewie"
favorite dog "brian"
..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 Computer My Computer

At a glance

Windows 10 Pro (x64)Intel Core i7-3930K (3.2GHz - 4.5GHz)4x Samsung 4GB PC3-12800 DDR3 (16GB 1600MHz)Nvidia Geforce GTX 690
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Alienware Aurora ALX R4
OS
Windows 10 Pro (x64)
CPU
Intel Core i7-3930K (3.2GHz - 4.5GHz)
Motherboard
Alienware Aurora-R4 x79
Memory
4x Samsung 4GB PC3-12800 DDR3 (16GB 1600MHz)
Graphics Card(s)
Nvidia Geforce GTX 690
Sound Card
SteelSeries Siberia Elite
Monitor(s) Displays
Dell UltraSharp U3011
Screen Resolution
2560x1600
Hard Drives
Samsung 850 Pro 256 GB, Seagate 1TB Desktop Hybrid HDD, 2x Western Digital 4TB Green HDD
PSU
875W Some Dell PSU <.<
Case
Alienware Aurora ALX
Cooling
Custom Liquid Cooling (EK CPU & GPU blocks) dual EK 480RAD
Keyboard
Logitech G710+ Mechanical
Mouse
Logitech G700s
Internet Speed
Verizon Fios (50 mbps average)
Other Info
Server: Intel NUC D54250WYK: i5-4250U, 16GB, 256 GB mSATA, Windows Server 2012 R2
Back
Top