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

Re: Re: Problem with multiple ethernet interfaces

OK I have fixed it. I will explain what I did

I had to manually add routes between the two subnets

route add -net netmask dev eth0

route add -net netmask dev eth1

That's it

Thanks Bob for your input

> Bob wrote:
>>Are you expecting this machine to be simply dual homed with two IP
>>addresses, one on each subnet?  Or are you expecting it to become a
>>router and to route packets itself from one interface to another?
>>If you want a machine with multiple interface cards to become a router
>>then you will need to enable packet forwarding in the linux kernel.
>>  echo 1 > /proc/sys/net/ipv4/ip_forward
> Thank you Bon for replying. Actually I just want it to be dual homed with
> two IP addresses, one on each subnet. I already have a router that
> connects the two subnets. Is there any additional configuration for this
> case?
> Appreciate your help
> Mostafa
> --
> To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact
> listmaster@lists.debian.org

Reply to: