[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

networking



so, i've got some debian boxes in a virtualbox environment. most work
fine, but one is annoying me.

after i boot it, the first interface comes up fine, but not the
second. if i run '/etc/init.d/networking restart' they both go down.
here is my ifconfig and interfaces file (which both look pretty normal
to me):

swilson-mbp-vdebian:~# ifconfig -a
eth0      Link encap:Ethernet  HWaddr 08:00:27:8d:ce:55
          inet addr:10.0.2.15  Bcast:10.0.2.255  Mask:255.255.255.0
          inet6 addr: fe80::a00:27ff:fe8d:ce55/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:11 errors:0 dropped:0 overruns:0 frame:0
          TX packets:24 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:2881 (2.8 KiB)  TX bytes:3131 (3.0 KiB)

eth1      Link encap:Ethernet  HWaddr 08:00:27:f6:03:08
          inet addr:192.168.56.102  Bcast:192.168.56.255  Mask:255.255.255.0
          inet6 addr: fe80::a00:27ff:fef6:308/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:902 errors:0 dropped:0 overruns:0 frame:0
          TX packets:133 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:65559 (64.0 KiB)  TX bytes:20082 (19.6 KiB)

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

swilson-mbp-vdebian:~# cat /etc/network/interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
allow-hotplug eth0
iface eth0 inet dhcp
allow hotplug eth1
iface eth1 inet dhcp


Reply to: