Gentoo Archives: gentoo-user

From: pat <pat@××××××××.org>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] static IP issue
Date: Thu, 06 Sep 2012 16:11:11
Message-Id: 20120906160341.M71503@xvalheru.org
In Reply to: Re: [gentoo-user] static IP issue by Mark Knecht
1 On Thu, 6 Sep 2012 08:37:33 -0700, Mark Knecht wrote
2 > On Thu, Sep 6, 2012 at 4:33 AM, pat <pat@××××××××.org> wrote:
3 > > Hello,
4 > >
5 > > I've installed Gentoo into VirtualBox. I want it to has static IP address and
6 > > I've followed Hand book instructions and the OpenRC/net.example. After reboot
7 > > there's a warning: "WARNING: net.lo has already been started" and each network
8 > > depending service failes to start with: "<service_name>: waiting for net.eth0
9 > > (51)"; where the 51 is a time which decrements to 0.
10 > >
11 > > I've searched net, but without success :-\
12 > >
13 > > Can someone help me? The installation is fresh one.
14 > >
15 > > Thanks
16 > >
17 > > Pat
18 >
19 > I have a 32-bit Gentoo Virtualbox VM where I am actually sending this
20 > email from. No problems with having a static IP:
21 >
22 > gentoo-32b ~ # ifconfig -a
23 > eth0 Link encap:Ethernet HWaddr 08:00:27:d4:6a:35
24 > inet addr:192.168.1.125 Bcast:192.168.1.255 Mask:255.255.255.0
25 > inet6 addr: fe80::a00:27ff:fed4:6a35/64 Scope:Link
26 > UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
27 > RX packets:103 errors:0 dropped:0 overruns:0 frame:0
28 > TX packets:108 errors:0 dropped:0 overruns:0 carrier:0
29 > collisions:0 txqueuelen:1000
30 > RX bytes:10493 (10.2 KiB) TX bytes:9152 (8.9 KiB)
31 >
32 > lo Link encap:Local Loopback
33 > inet addr:127.0.0.1 Mask:255.0.0.0
34 > inet6 addr: ::1/128 Scope:Host
35 > UP LOOPBACK RUNNING MTU:16436 Metric:1
36 > RX packets:0 errors:0 dropped:0 overruns:0 frame:0
37 > TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
38 > collisions:0 txqueuelen:0
39 > RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
40 >
41 > sit0 Link encap:IPv6-in-IPv4
42 > NOARP MTU:1480 Metric:1
43 > RX packets:0 errors:0 dropped:0 overruns:0 frame:0
44 > TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
45 > collisions:0 txqueuelen:0
46 > RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
47 >
48 > gentoo-32b ~ # cat /etc/conf.d/net
49 > net network
50 > gentoo-32b ~ # cat /etc/conf.d/net
51 > # This blank configuration will automatically use DHCP for any net.*
52 > # scripts in /etc/init.d. To create a more complete configuration,
53 > # please review /usr/share/doc/openrc*/net.example* and save your configuration
54 > # in /etc/conf.d/net (this file :]!).
55 >
56 > config_eth0="192.168.1.125 netmask 255.255.255.0"
57 > routes_eth0="default via 192.168.1.1"
58 > gentoo-32b ~ #
59 >
60 > If it helps, I have the VM NEtwork settings set to Bridged Adapter.
61 >
62 > HTH,
63 > Mark
64 >
65
66 Hello,
67
68 I have bridged network too and my configuration looks similar to yours, but I
69 have 64-bit Gentoo.
70
71 Pat
72
73
74 ----------------------------------------
75 Freehosting PIPNI - http://www.pipni.cz/