I am trying to setup ttylinux in virtual box with two network cards. I have ttylinux installed on a virtual hard disk.
My WinXP PC has two network cards. One is connected to a network with DHCP and the other to a local network with static IP: 192.168.92.1. In the virtualbox I have the: network card with DHCP set to NAT network card with static IP set to bridged
This setup is working well with Ubuntu, I am trying to get it working with smaller system image.
In ttylinux:
If I bring up just eth0 in DHCP mode DNS resolution works and I can send and receive to the the internet. If I bring up just eth1 with static IP 192.168.92.2, I can send and receive on the local network. If I bring up both eth0 and eth1 the traffic on eth0 stops.
> I am trying to setup ttylinux in virtual box with two network cards.
> I have ttylinux installed on a virtual hard disk.
> My WinXP PC has two network cards. One is connected to a network with
> DHCP and the other to a local network with static IP: 192.168.92.1.
> In the virtualbox I have the:
> network card with DHCP set to NAT
> network card with static IP set to bridged
> This setup is working well with Ubuntu, I am trying to get it working
> with smaller system image.
> In ttylinux:
> If I bring up just eth0 in DHCP mode DNS resolution works and I can send
> and receive to the the internet.
> If I bring up just eth1 with static IP 192.168.92.2, I can send and
> receive on the local network.
> If I bring up both eth0 and eth1 the traffic on eth0 stops.
> Any idea what I need to do to get both working?
Nope, sorry.
It would be nice to here from anyone that has used two NICs
with ttylinux; I have done it before and not had a problem.
I'm thinking you are having a problem with VirtualBox, not
so much with ttylinux.
On Tuesday, September 25, 2012 1:30:01 PM UTC-6, Rolf Strand wrote:
> I am trying to setup ttylinux in virtual box with two network cards. > I have ttylinux installed on a virtual hard disk.
> My WinXP PC has two network cards. One is connected to a network with > DHCP and the other to a local network with static IP: 192.168.92.1. > In the virtualbox I have the: > network card with DHCP set to NAT > network card with static IP set to bridged
> This setup is working well with Ubuntu, I am trying to get it working with > smaller system image.
> In ttylinux:
> If I bring up just eth0 in DHCP mode DNS resolution works and I can send > and receive to the the internet. > If I bring up just eth1 with static IP 192.168.92.2, I can send and > receive on the local network. > If I bring up both eth0 and eth1 the traffic on eth0 stops.
I have a two-nic qemu vm setup similar to yours, and eth1 is the first default gateway entry, eth0 the second. I hadn't used it to get to non-local subnets, so I hadn't noticed the problem.
Yes, take a look in ifcfg-eth1, comment out the GATEWAY line. I just did that, stopped and restarted eth1, and all works.
On Wednesday, September 26, 2012 2:46:56 PM UTC-6, ggbutcher wrote:
> Almost sounds like eth1 is taking the default route on startup. > /sbin/route will show this.
> On Tuesday, September 25, 2012 1:30:01 PM UTC-6, Rolf Strand wrote:
>> I am trying to setup ttylinux in virtual box with two network cards. >> I have ttylinux installed on a virtual hard disk.
>> My WinXP PC has two network cards. One is connected to a network with >> DHCP and the other to a local network with static IP: 192.168.92.1. >> In the virtualbox I have the: >> network card with DHCP set to NAT >> network card with static IP set to bridged
>> This setup is working well with Ubuntu, I am trying to get it working >> with smaller system image.
>> In ttylinux:
>> If I bring up just eth0 in DHCP mode DNS resolution works and I can send >> and receive to the the internet. >> If I bring up just eth1 with static IP 192.168.92.2, I can send and >> receive on the local network. >> If I bring up both eth0 and eth1 the traffic on eth0 stops.
>> Any idea what I need to do to get both working?