View previous topic :: View next topic |
Author |
Message |
sumpi Tux's lil' helper


Joined: 09 May 2006 Posts: 110 Location: Graz, Austria
|
Posted: Wed Oct 10, 2007 11:28 am Post subject: ipv6 vs ipv4 - problem [solved] |
|
|
Hi all!
I just updated by gentoo-boxes a day ago. I have to use a windows dhcp-server at work. Now my system gets another ip-adr. than before the update and the logs on the windows box tell, that I want to request with an ipv6 - adr. So my question is:
how can I force my dhcp-client to request only ipv4 with the "old" MAC-Adr.?
My /etc/conf.d/net looks like:
Code: |
mac_eth0="00:30:05:56:94:0F"
config_eth0=(
"dhcp"
)
|
I tried to "force" the MAC adr. in the config, but without success. Do I have to remove ipv6 completely or is there another way?
Thanks in advance!
Sumpi
Solution:
You have to emerge net-misc/dhcp and use "dhclient" in your /etc/init.d/net _________________ Why geeks like computers:
unzip, strip, touch, finger, grep, mount, fsck, more, yes,fsck,fsck,fsck,umount, sleep.
Last edited by sumpi on Mon Oct 29, 2007 7:35 am; edited 1 time in total |
|
Back to top |
|
 |
pblinux2 n00b

Joined: 16 Mar 2006 Posts: 29
|
Posted: Thu Oct 25, 2007 5:48 pm Post subject: |
|
|
I'm having the same problem. |
|
Back to top |
|
 |
vaguy02 Guru


Joined: 25 Feb 2005 Posts: 424 Location: Hopefully in one place
|
Posted: Thu Oct 25, 2007 5:58 pm Post subject: |
|
|
I removed all kernel support for ipv6 and added a -ipv6 use flag.
Fixed it, bit of overkill, but it works. _________________ Linux Registered User #458185
Intel Quad-Core w/ 4gigs Ram w/ 8800 GTX - Windows 7 RC
2x (Intel Dual-Core w/ 2gigs Ram - Gentoo)
Mac G5 Dual-Core w/ 2gigs Ram - OS 10.5 |
|
Back to top |
|
 |
sumpi Tux's lil' helper


Joined: 09 May 2006 Posts: 110 Location: Graz, Austria
|
Posted: Sat Oct 27, 2007 1:08 pm Post subject: |
|
|
I will give it a try. Does anybody know, what the problem is?
afaik should the ipv4-adr be given depending on the given hardware-address. So why does the definition in my config not fixthe problem?
Bye,
Sumpi _________________ Why geeks like computers:
unzip, strip, touch, finger, grep, mount, fsck, more, yes,fsck,fsck,fsck,umount, sleep. |
|
Back to top |
|
 |
tobr Guru


Joined: 29 May 2006 Posts: 330
|
Posted: Sat Oct 27, 2007 2:37 pm Post subject: Re: ipv6 vs ipv4 - problem |
|
|
sumpi wrote: | I just updated by gentoo-boxes a day ago. I have to use a windows dhcp-server at work. Now my system gets another ip-adr. than before the update and the logs on the windows box tell, that I want to request with an ipv6 - adr. So my question is:
how can I force my dhcp-client to request only ipv4 with the "old" MAC-Adr.? |
Well, you do not get IPv6 addresses via DHCP! IPv6 configures itself in this regard. Your DHCP client knows nothing about IPv6. There is some kind of DHCP for IPv6 but this is only to transfer information like DNS server IP addresses not to assign IP addresses. So perhaps the DHCP server does something really strange? I’m completely puzzled why your config shouldn’t work (I have something similar and have not disabled IPv6 in any way). Have you tried another DHCP client? dhclient works great for me. Just Code: | emerge net-misc/dhcp | and add Code: | modules=( "dhclient" ) | to the top of your /etc/conf.d/net.
HTH _________________ Please add [SOLVED] to your message title if your problem is solved.
Death to all blobs! |
|
Back to top |
|
 |
sumpi Tux's lil' helper


Joined: 09 May 2006 Posts: 110 Location: Graz, Austria
|
Posted: Mon Oct 29, 2007 7:33 am Post subject: |
|
|
hi tobr!
Yeah, that fixed the problem!
Thanks!
Bye,
Sumpi _________________ Why geeks like computers:
unzip, strip, touch, finger, grep, mount, fsck, more, yes,fsck,fsck,fsck,umount, sleep. |
|
Back to top |
|
 |
pblinux2 n00b

Joined: 16 Mar 2006 Posts: 29
|
|
Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|