LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Linux Newbie trying to install 2 NICS - working in VMWare Fusion 5 with Debian 6 (https://www.linuxquestions.org/questions/linux-newbie-8/linux-newbie-trying-to-install-2-nics-working-in-vmware-fusion-5-with-debian-6-a-4175459481/)

westerfield 04-24-2013 05:02 PM

Linux Newbie trying to install 2 NICS - working in VMWare Fusion 5 with Debian 6
 
Hello,

I am hoping for some help on making sure that my NICs are configured properly.

I am using VMWare Fusion 5 and have installed Debian 6 64-bit. I have 2 NICs added per the settings in VMWare.

Goal is:

eth0 static IP address
address 172.30.5.209
Netmask 255.255.0.0
Gateway 172.30.0.254
DNS 172.30.0.10

eth1 static IP address
address 10.1.1.10
netmaks 255.255.0.0
DNS 172.30.0.10

I have manually input for eth0 and eth1 using the system>preferences>network connection GUI the above information.

Using the settings option on VMWare
Network adapter and Network adapter2 I have enabled using auto detect - (The virtual machine shares the IP address of the Mac on the external network. The Mac provided Network address Translation (NAT) for the network traffic from the virtual machine.

What am I doing wrong?


Current:
root@Server08:/# ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:0c:29:5b:27:4b
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
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

eth1 Link encap:Ethernet HWaddr 00:0c:29:5b:27:55
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
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

lo Link encap:Local Loopback
LOOPBACK 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)

pan0 Link encap:Ethernet HWaddr 0e:f7:d4:40:3a:39
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
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

I appreciate any hand holding.

Thank you.

TylerD75 04-25-2013 02:27 AM

It's been a long time since I used Debian, but...

Check "/etc/network/interfaces" for content
It should contain something like:
Code:

iface eth0 inet static
        address 172.30.5.209
        netmask 255.255.0.0
        network 172.30.5.0
        broadcast 172.30.255.255
        gateway 172.30.0.254
        dns-search local-domain.com
        dns-nameservers 172.30.0.10

And a similar configuration for eth1.

If the file is empty, or only contains the example config, you should change it to something like the above.

After you have done this, you might have to add the interfaces to the default runlevel ("rc-update add net.eth0 default" in Gentoo, don't remember how in debian). This might require you to add a symbolic link from /etc/init.d/net.lo --> /etc/init.d/net.ethX, but again, this is the Gentoo way.

If the above is not helpful, I'd check this page: http://wiki.debian.org/NetworkConfiguration

Alternatively there might be a problem with the network driver in debian, or the setup in vmware (change NIC hardware emulation?).
Haven't used VMWare Fusion, so can't really tell you anything constructive without more info there. But if it is anything like VirtualBox, you can specify NIC emulation, or use the actual hardware. The latter requires Debian to actually have the NIC driver installed (for your spesific network card).
But the fact that you can list interfaces with "ifconfig -a" suggests that the problem is a config problem in debian, and not a VMWare related problem (at this point).


All times are GMT -5. The time now is 02:59 AM.