how to activate nic at startup that has no ip
Can someone tell me how do I add a nic to start or come active at boot that doesnt have a ip adress associated to it?
After a boot I can ifconfig eth1 up and its up. however unless i do that it wont be active
My /etc/network/
# 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
auto eth0
iface eth0 inet dhcp
auto eth1
auto eth2
myserver@
eth0 Link encap:Ethernet HWaddr 00:0C:29:C3:44:EC
inet addr:10.5.1.86 Bcast:10.5.255.255 Mask:255.255.0.0
inet6 addr: fe80::20c:
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:642 errors:0 dropped:0 overruns:0 frame:0
TX packets:318 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:55757 (54.4 KiB) TX bytes:37477 (36.5 KiB)
eth1 Link encap:Ethernet HWaddr 00:0C:29:C3:44:F6
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
eth2 Link encap:Ethernet HWaddr 00:0C:29:C3:44:00
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
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:4 errors:0 dropped:0 overruns:0 frame:0
TX packets:4 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:416 (416.0 b) TX bytes:416 (416.0 b)
sit0 Link encap:IPv6-in-IPv4
NOARP MTU:1480 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
thanks
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Ubuntu Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- systimax
- Solved:
- Last query:
- Last reply: