You are not logged in.
Hi,
I came back at Arch after a long time!
I try to install on virtualbox with 2 network: first NAT (eth0) and second host-only (eth1) but at each reboot my eth0 not start.
My rc.conf
# Network
#
# interface=eth0
# address=10.0.2.15
# netmask=255.255.255.0
# gateway=10.0.2.2
interface=eth0
address=10.0.2.15
netmask=255.255.255.0
gateway=10.0.2.2
interface=eth1
address=192.168.56.101
netmask=255.255.255.0
After boot:
[root@arch ~]# ip addr
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
3: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
link/ether 08:00:27:0b:65:9e brd ff:ff:ff:ff:ff:ff
inet 192.168.56.101/24 brd 192.168.56.255 scope global eth1
inet6 fe80::a00:27ff:fe0b:659e/64 scope link
valid_lft forever preferred_lft forever
After dhcpcd eth0
dhcpcd[378]: version 5.6.2 starting
dhcpcd[378]: eth0: carrier lost
dhcpcd[378]: eth0: carrier acquired
dhcpcd[378]: eth0: sending IPv6 Router Solicitation
dhcpcd[378]: eth0: sendmsg: Cannot assign requested address
dhcpcd[378]: eth0: rebinding lease of 10.0.2.15
dhcpcd[378]: eth0: acknowledged 10.0.2.15 from 10.0.2.2
dhcpcd[378]: eth0: checking for 10.0.2.15
dhcpcd[378]: eth0: sending IPv6 Router Solicitation
dhcpcd[378]: eth0: leased 10.0.2.15 for 86400 seconds
dhcpcd[378]: forked to background, child pid 415
[root@arch ~]# ip addr
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
link/ether 08:00:27:78:c6:d7 brd ff:ff:ff:ff:ff:ff
inet 10.0.2.15/24 brd 10.0.2.255 scope global eth0
inet6 fe80::a00:27ff:fe78:c6d7/64 scope link
valid_lft forever preferred_lft forever
3: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
link/ether 08:00:27:0b:65:9e brd ff:ff:ff:ff:ff:ff
inet 192.168.56.101/24 brd 192.168.56.255 scope global eth1
inet6 fe80::a00:27ff:fe0b:659e/64 scope link
valid_lft forever preferred_lft forever
I have already try to set eth0 dhcp in rc.conf:
interface="eth0"
address=
netmask=
gateway=
but eth0 after reboot isn't up.
Where is the mistake??
Thanks,
Mirr0r
Offline
During your absence there were a lot of changes, rolling as usual . I guess.
One of those was that multiple interfaces in rc.conf are not supported anymore. You can use "netcfg" profiles now for that. Have a look at the new wiki and the frontpage news.
Offline
Thank you for answer and solution!
I followed the wiki for install but I didn't read multiple interface are not supported
https://wiki.archlinux.org/index.php/Network
Thanks
Offline