Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ipv6 vs ipv4 - problem [solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
sumpi
Tux's lil' helper
Tux's lil' helper


Joined: 09 May 2006
Posts: 110
Location: Graz, Austria

PostPosted: Wed Oct 10, 2007 11:28 am    Post subject: ipv6 vs ipv4 - problem [solved] Reply with quote

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
View user's profile Send private message
pblinux2
n00b
n00b


Joined: 16 Mar 2006
Posts: 29

PostPosted: Thu Oct 25, 2007 5:48 pm    Post subject: Reply with quote

I'm having the same problem.
Back to top
View user's profile Send private message
vaguy02
Guru
Guru


Joined: 25 Feb 2005
Posts: 424
Location: Hopefully in one place

PostPosted: Thu Oct 25, 2007 5:58 pm    Post subject: Reply with quote

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
View user's profile Send private message
sumpi
Tux's lil' helper
Tux's lil' helper


Joined: 09 May 2006
Posts: 110
Location: Graz, Austria

PostPosted: Sat Oct 27, 2007 1:08 pm    Post subject: Reply with quote

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
View user's profile Send private message
tobr
Guru
Guru


Joined: 29 May 2006
Posts: 330

PostPosted: Sat Oct 27, 2007 2:37 pm    Post subject: Re: ipv6 vs ipv4 - problem Reply with quote

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
View user's profile Send private message
sumpi
Tux's lil' helper
Tux's lil' helper


Joined: 09 May 2006
Posts: 110
Location: Graz, Austria

PostPosted: Mon Oct 29, 2007 7:33 am    Post subject: Reply with quote

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
View user's profile Send private message
pblinux2
n00b
n00b


Joined: 16 Mar 2006
Posts: 29

PostPosted: Wed Dec 19, 2007 6:59 pm    Post subject: Reply with quote

How to correct this problem without switching from dhcpcd to dhclient

https://forums.gentoo.org/viewtopic-t-599228-highlight-.html
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
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