Multiple interfaces on LAN

Post new topic   Reply to topic    DD-WRT Forum Forum Index -> X86 based Hardware
Author Message
zcappc8
DD-WRT Novice


Joined: 30 Jun 2011
Posts: 7

PostPosted: Thu Dec 14, 2017 22:01    Post subject: Multiple interfaces on LAN Reply with quote
I'm using virtualbox to run a ddwrt instance. I have three interfaces:

eth0: Host-only network
eth1: Bridged to second network port
eth2: NAT to host computer

I'm trying to setup so that ddwrt will provide dhcp addresses to any machine connected on eth0 and eth1 and then forward via eth2 to the outside world... i.e.

eth0: LAN
eth1: LAN
eth2: WAN

with eth0 and eth1 on the same network.

I've got as far as getting dhcp to work on eth0 and the WAN to work on eth2 but I can't get any ip addresses to be assigned to anything attached o eth1 (in fact eth1 does not have an ip address from ifconfig).

I'm stuck so any help much appreciated
Sponsor
zcappc8
DD-WRT Novice


Joined: 30 Jun 2011
Posts: 7

PostPosted: Fri Dec 15, 2017 0:39    Post subject: Reply with quote
As an update the devices on eth1 do indeed get ip address via dhcp but from then on I cannot communicate between anything on eth1 and eth0. It is almost as if there is no route between the two
zcappc8
DD-WRT Novice


Joined: 30 Jun 2011
Posts: 7

PostPosted: Fri Dec 15, 2017 18:57    Post subject: Reply with quote
bump
flood404
DD-WRT User


Joined: 18 Dec 2013
Posts: 95

PostPosted: Fri Jan 26, 2018 1:02    Post subject: Reply with quote
zcappc8 wrote:
As an update the devices on eth1 do indeed get ip address via dhcp but from then on I cannot communicate between anything on eth1 and eth0. It is almost as if there is no route between the two




You have to setup the 2nd lan card at 192.168.1.1 Then go to the Setup then Networking tab.

There is a setting there to enable the 3rd card as a LAN.

IF you can get me a screen shot of what your setup shows in the networking tab at 192.168.1.1 Just remember to erase your public IP info with a image editing program before uploading it.
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Forum Index -> X86 based Hardware All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum