[email protected] <[email protected]> [14-11-29 02:56]:
> On 2014-11-28 18:35, [email protected] wrote:
> >Do I really need two interfaces isb0 and usb1 with different
> >subnets here?
> >Or do I miss something?
> 
> 
> howdy,
> yes you do.
> i.e.
> PC has real-eth0="192.168.1.1/24"
> PC has usb-eth0="192.168.2.1/24"
> PC has usb-eth1="192.168.2.2/24"
> sysA has usb-eth0="192.168.2.101/24"
> sysB has usb-eth0="192.168.2.102/24"
> 
> from PC you want to ping 192.168.2.101, ok it pings
> then you want to ping 192.168.2.102 and you have a cached route for 
> 192.168.2.0/24 dev usb-eth0
> you can get around this using policy routing but that is a bit much for 
> what you want.
> you can always use smaller ranges for example:
> 
> PC usb-eth0="192.168.2.1/25"
> PC usb-eth1="192.168.2.129/25"
> sysA usb-eth0="192.168.2.101/25"
> sysB usb-eth1"192.168.2.254/25"
> 
> 
Hi James, hi thegeezer

I want to summerize here what works, what dont work and what I tried
-- sorry I am no natie english speaker and my english is not exact
enough for such things...but well...lets see..

Current setup
PC:
usb0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.10.1  netmask 255.255.255.0  broadcast 192.168.10.255
        ether ee:6c:bc:6c:03:79  txqueuelen 1000  (Ethernet)

Arietta A:
usb0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.10.10  netmask 255.255.255.0  broadcast 192.168.10.255
        inet6 fe80::215:f2ff:fe18:b030  prefixlen 64  scopeid 0x20<link>
        ether 00:15:f2:18:b0:30  txqueuelen 1000  (Ethernet)

Arietta B:
usb0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.10.11  netmask 255.255.255.0  broadcast 192.168.10.255
        inet6 fe80::215:f2ff:fe18:b030  prefixlen 64  scopeid 0x20<link>
        ether 00:15:f2:18:b0:31  txqueuelen 1000  (Ethernet)


Tried:
(I only have one PC...)
Only Arietta A connected to PC: Works fine -- ssh login ok
Only Arietta B connected to PC: Works fine -- ssh login ok

Arietta A connected to PC, after it has booted Arietta B connected
to the same (motherboard internal) usb-hub of the PC: Cant ssh to Arietta B but
can ssh to Arietta A.
Switch result if connecting done in opposite order.

Question:
Is one usb_0 interface on the PC enough?
Is there something else wrong with my setup?

Thanks a lot for any help in advance!
Best regards,
Meino







Reply via email to