1
I'm attempting to connect my Arietta G25 Debian ARM board to my home network using DHCP (or failing that, a static IP in the correct subnet). I'm currently using the board over USB, which shows up as some kind of virtual Ethernet interface which is configured using a static 192.168.10.0/24
IP. I can access it (SSH) from the machine it's plugged into, but I want to be able to access the rest of my network on 192.168.1.0/24
and the internet from the board, as well as access the board from my home network.
The home network is on the 192.168.1.0/24
subnet.
Currently, I have two /etc/network/interfaces
files:
Host config (Linux host box)
allow-hotplug usb0
iface usb0 inet static
address 192.168.10.20
netmask 255.255.255.0
Board config (Debian ARM board over USB)
auto usb0
iface usb0 inet static
address 192.168.10.10
netmask 255.255.255.0
gateway 192.168.10.20
I've tried setting the board's IP to 192.168.1.90
but that made it unaccessible. Something to do with the gateway perhaps? I've also tried
iface usb0 inet dhcp
to no avail.
How can I get my USB-connected-with-virtual-ethernet-interface ARM board to have an IP address (DHCP or static) on the 192.168.1.0/24
subnet used by the rest of my network when plugged into a box over USB? I'd prefer to use DHCP. There is a DHCP server running on the router on 192.168.1.1
.
Thanks for your answer. I tried creating a bridge which unfortunately made the board completely inaccessible for some reason, however I managed to set up some NAT rules in my
iptables
config which worked – Bojangles – 2014-11-08T19:04:27.860:). This may not have been your issue, but I also should have added that the bridge would not work over wireless. In any case, glad to hear you got it working. – Greg Bowser – 2014-11-08T19:09:05.720