You are not logged in.

#1 2009-07-08 16:31:37

veranyon
Member
From: Odintsovo/Russian Federation
Registered: 2009-07-08
Posts: 107
Website

[dhcpcd] dhcp client receives a strange ip [SOLVED]

dhcp client receives a strange ip. Not the same as in the other OS Linux / etc.
Under archlinux, I see that the dhcp server gives me an ip address on the same subnet as before, but with a different "tail".
For example I receive 10.32.76.254 address (openSuSE, FreeBSD, win). But under Archlinux OS
I always get the address 10.32.76.220. hardly.
why, mac address all the same.

Additional info:
I watch that one on any Archlinux. Prior to the upgrade and after upgrade
The config file of dhcp client is standart. There won't any changes.
my rc.conf config file:
#

LOCALE="ru_RU.utf8"
HARDWARECLOCK="local"
USEDIRECTISA="no"
TIMEZONE="Europe/Moscow"
KEYMAP="us"
CONSOLEFONT=cyr-sun16
CONSOLEMAP=
USECOLOR="yes"
MOD_AUTOLOAD="yes"
MODULES=(vmnet vmmon vmci ip_nat_ftp ip_nat_pptp ip_conntrack_ftp ip_conntrack_irc)
USELVM="no"
HOSTNAME="serge"
eth0="dhcp"
INTERFACES=(eth0)
DAEMONS=(acpid syslog-ng network iptables net-profiles crond cups)
#########the end##############

my /etc/host.conf file
order hosts,bind
multi on
###############################

/etc/hosts
127.0.0.1 localhost.localdomain localhost serge

ethernet card: rlt8139

Steps to reproduce:
/etc/rc.d/network restart

For example I can install Slacware Linux and set the localhost.localdomain.org name or set noserge.trc.local name and get 10.32.76.254 address anyway. And I get a train ip.
Or if I install opensue. always 10.32.76.254, but not 10.32.76.220 as in Archlinux. Why?

Mirror of that one is at http://bugs.archlinux.org/task/15404

I don't know how I'll find Roy Marples' email address. I didn't find it.

help, please.

Last edited by veranyon (2009-07-12 16:22:12)


ArchLinux x86_64 /AMD Phenom x4 9550/4 GB RAM/ASUS M3N78-EM/GeForce 9800 GT/DELL 2408 VFP
[img]http://img17.imageshack.us/img17/3443/111bzf.gif[/img]

Offline

#2 2009-07-08 18:40:41

arkham
Member
From: Stockholm
Registered: 2008-10-26
Posts: 516
Website

Re: [dhcpcd] dhcp client receives a strange ip [SOLVED]

Why using dhcp at all then?


"I'm Winston Wolfe. I solve problems."

~ Need moar games? [arch-games] ~ [aurcheck] AUR haz updates? ~

Offline

#3 2009-07-08 18:47:18

veranyon
Member
From: Odintsovo/Russian Federation
Registered: 2009-07-08
Posts: 107
Website

Re: [dhcpcd] dhcp client receives a strange ip [SOLVED]

arkham wrote:

Why using dhcp at all then?

Can You clarify your question?

Last edited by veranyon (2009-07-08 18:47:46)


ArchLinux x86_64 /AMD Phenom x4 9550/4 GB RAM/ASUS M3N78-EM/GeForce 9800 GT/DELL 2408 VFP
[img]http://img17.imageshack.us/img17/3443/111bzf.gif[/img]

Offline

#4 2009-07-08 19:15:21

arkham
Member
From: Stockholm
Registered: 2008-10-26
Posts: 516
Website

Re: [dhcpcd] dhcp client receives a strange ip [SOLVED]

Can't you use a static IP?


"I'm Winston Wolfe. I solve problems."

~ Need moar games? [arch-games] ~ [aurcheck] AUR haz updates? ~

Offline

#5 2009-07-08 19:21:14

veranyon
Member
From: Odintsovo/Russian Federation
Registered: 2009-07-08
Posts: 107
Website

Re: [dhcpcd] dhcp client receives a strange ip [SOLVED]

2 arkham

No, I can't.
If I change rc.conf (remove dhcp. add static addr..), and even see it, and add routes to the gate, then ping will not. ping to gate. I can add 10.32.76.254 ip or any other one.


ArchLinux x86_64 /AMD Phenom x4 9550/4 GB RAM/ASUS M3N78-EM/GeForce 9800 GT/DELL 2408 VFP
[img]http://img17.imageshack.us/img17/3443/111bzf.gif[/img]

Offline

#6 2009-07-09 00:51:12

Mr.Elendig
#archlinux@freenode channel op
From: The intertubes
Registered: 2004-11-07
Posts: 4,092

Re: [dhcpcd] dhcp client receives a strange ip [SOLVED]

veranyon wrote:

2 arkham

No, I can't.
If I change rc.conf (remove dhcp. add static addr..), and even see it, and add routes to the gate, then ping will not. ping to gate. I can add 10.32.76.254 ip or any other one.

wrong netmask maybe? You did remember to remove the ! infront of 'gateway'?

Last edited by Mr.Elendig (2009-07-09 00:51:54)


Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest

Offline

#7 2009-07-09 10:01:14

veranyon
Member
From: Odintsovo/Russian Federation
Registered: 2009-07-08
Posts: 107
Website

Re: [dhcpcd] dhcp client receives a strange ip [SOLVED]

Mr.Elendig wrote:

wrong netmask maybe? You did remember to remove the ! infront of 'gateway'?

the mask is 16 (255.255.0.0)

I can see it when I set dhcp mode. by ifconfig.


ArchLinux x86_64 /AMD Phenom x4 9550/4 GB RAM/ASUS M3N78-EM/GeForce 9800 GT/DELL 2408 VFP
[img]http://img17.imageshack.us/img17/3443/111bzf.gif[/img]

Offline

#8 2009-07-09 15:17:03

veranyon
Member
From: Odintsovo/Russian Federation
Registered: 2009-07-08
Posts: 107
Website

Re: [dhcpcd] dhcp client receives a strange ip [SOLVED]

How enable a promisc mode for some net interface. I about rc.conf.
a simple addon as promisc isn't right idea.
eth0="dhcp promisc" - isn't right.
I can't find how do it right.
I saw only trmporary workarounds on the arch wiki aka ifconfig bla bla bla eth0 promisc.

Last edited by veranyon (2009-07-09 15:19:00)


ArchLinux x86_64 /AMD Phenom x4 9550/4 GB RAM/ASUS M3N78-EM/GeForce 9800 GT/DELL 2408 VFP
[img]http://img17.imageshack.us/img17/3443/111bzf.gif[/img]

Offline

#9 2009-07-09 15:20:29

veranyon
Member
From: Odintsovo/Russian Federation
Registered: 2009-07-08
Posts: 107
Website

Re: [dhcpcd] dhcp client receives a strange ip [SOLVED]

[iron@estaf /]$ man rc.conf
Нет справочной страницы для rc.conf
[iron@estaf /]$ LANG=en_EN man rc.conf
man: can't set the locale; make sure $LC_* and $LANG are correct
No manual entry for rc.conf

Last edited by veranyon (2009-07-09 15:20:52)


ArchLinux x86_64 /AMD Phenom x4 9550/4 GB RAM/ASUS M3N78-EM/GeForce 9800 GT/DELL 2408 VFP
[img]http://img17.imageshack.us/img17/3443/111bzf.gif[/img]

Offline

#10 2009-07-09 15:45:26

veranyon
Member
From: Odintsovo/Russian Federation
Registered: 2009-07-08
Posts: 107
Website

Re: [dhcpcd] dhcp client receives a strange ip [SOLVED]

Founded
eth0="dhcp"
INTERFACES=(eth0)
OPTIONS="promisc"

ifconfig
eth0      Link encap:Ethernet  HWaddr 00:80:48:54:16:C1 
          inet addr:10.32.76.220  Bcast:10.32.77.255  Mask:255.255.254.0
          inet6 addr: fe80::280:48ff:fe54:16c1/64 Scope:Link
          UP BROADCAST RUNNING PROMISC MULTICAST  MTU:1500  Metric:1

anyway - 10.32.76.220 sad


ArchLinux x86_64 /AMD Phenom x4 9550/4 GB RAM/ASUS M3N78-EM/GeForce 9800 GT/DELL 2408 VFP
[img]http://img17.imageshack.us/img17/3443/111bzf.gif[/img]

Offline

#11 2009-07-12 16:21:41

veranyon
Member
From: Odintsovo/Russian Federation
Registered: 2009-07-08
Posts: 107
Website

Re: [dhcpcd] dhcp client receives a strange ip [SOLVED]


ArchLinux x86_64 /AMD Phenom x4 9550/4 GB RAM/ASUS M3N78-EM/GeForce 9800 GT/DELL 2408 VFP
[img]http://img17.imageshack.us/img17/3443/111bzf.gif[/img]

Offline

Board footer

Powered by FluxBB