You are not logged in.

#1 2011-09-19 12:51:27

codingBug
Member
From: China
Registered: 2011-09-19
Posts: 5

Why i have two ip addr sometime?

I have set /etc/rc.conf blow use staic ip addr
---
interface=eth0
address=192.168.127.130
netmask=255.255.255.0
broadcast=192.168.127.255
gateway=192.168.127.1

---
but after i excute pacman -S to install new packages
sometime it will one more ip addr appears.

like 192.168.127.131

and then i can't link to net.

Just like a dhcpcd command had been excuted.
Why?

--Vmware(nat) + archlinux

Offline

#2 2011-09-19 15:55:50

codingBug
Member
From: China
Registered: 2011-09-19
Posts: 5

Re: Why i have two ip addr sometime?

oh my god
i know the answer now.

the gateway is wrong.
is 192.168.127.2
vmware net8 gateway is not 192.168.127.1(this is the host ip ...)

Offline

#3 2011-09-19 21:01:16

bernarcher
Forum Fellow
From: Germany
Registered: 2009-02-17
Posts: 2,281

Re: Why i have two ip addr sometime?

So you got the answer please mark this thread [SOLVED] by editing the title of your first post.


To know or not to know ...
... the questions remain forever.

Offline

Board footer

Powered by FluxBB