Re: How to set eth0 and eth1

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Matt Graham
Date:  
To: Main PLUG discussion list
Subject: Re: How to set eth0 and eth1
> Carlton Brooks <> wrote:
>> Odroid UX-3. It contains an ethernet port as well as usb3 otg port.
>> When I do a ifconfig the results show that I have an eth0 and an
>> eth1.
>> If I plug in my cat 6 to the ethernet plug it shows I have an eth0 ip
>> of
>> 192.168.1.101. If I remove the cat 6 from the traditional ethernet
>> plug
>> and then plug in the otg cable through a usb 3 gigabit ethernet
>> adapter and
>> then run ifconfig again it shows that I have an eth1 ip of
>> 192.168.1.146.
>>
>> I can ssh into the traditional ethernet port if the cable is plugged
>> in
>> using the 192.168.1.101. If I use the otg setup I can not ssh into
>> the
>> 192.168.1.146.

On 2015-02-15 05:59, James Mcphee wrote:
> When you have the otg interface up, what is the result of standard
> OSI model troubleshooting?


Is this device getting its IP address from a DHCP server in both cases?
Or is it being set up manually? If manual, there might be routing
stupidity going on, or the device might think that its actual ethernet
port still has an address in 192.168.1.0/24 . If that happens, it'll
probably try send packets for 192.168.1.146 through the ethernet port
instead of the USB port, which would cause the symptoms you described.
What's "route -n" say? Can you ping 192.168.1.146 through your actual
computer?

>> What can I do to make the otg eth0 and be able to ssh into it.


I thought that ethN was deprecated, and that everyone was supposed to
use the new alphabet soup names like enp4s0 (PCI bus 4, slot 0) since
the old numerically-named devices can change at random depending on the
order the kernel developers decide to do things.

--
Crow202 Blog: http://crow202.org/wordpress
There is no Darkness in Eternity
But only Light too dim for us to see.
---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change your mail settings:
http://lists.phxlinux.org/mailman/listinfo/plug-discuss