1 |
thegeezer@×××××××××.net <thegeezer@×××××××××.net> [14-11-29 02:56]: |
2 |
> On 2014-11-28 18:35, meino.cramer@×××.de wrote: |
3 |
> >Do I really need two interfaces isb0 and usb1 with different |
4 |
> >subnets here? |
5 |
> >Or do I miss something? |
6 |
> |
7 |
> |
8 |
> howdy, |
9 |
> yes you do. |
10 |
> i.e. |
11 |
> PC has real-eth0="192.168.1.1/24" |
12 |
> PC has usb-eth0="192.168.2.1/24" |
13 |
> PC has usb-eth1="192.168.2.2/24" |
14 |
> sysA has usb-eth0="192.168.2.101/24" |
15 |
> sysB has usb-eth0="192.168.2.102/24" |
16 |
> |
17 |
> from PC you want to ping 192.168.2.101, ok it pings |
18 |
> then you want to ping 192.168.2.102 and you have a cached route for |
19 |
> 192.168.2.0/24 dev usb-eth0 |
20 |
> you can get around this using policy routing but that is a bit much for |
21 |
> what you want. |
22 |
> you can always use smaller ranges for example: |
23 |
> |
24 |
> PC usb-eth0="192.168.2.1/25" |
25 |
> PC usb-eth1="192.168.2.129/25" |
26 |
> sysA usb-eth0="192.168.2.101/25" |
27 |
> sysB usb-eth1"192.168.2.254/25" |
28 |
> |
29 |
> |
30 |
Hi James, hi thegeezer |
31 |
|
32 |
I want to summerize here what works, what dont work and what I tried |
33 |
-- sorry I am no natie english speaker and my english is not exact |
34 |
enough for such things...but well...lets see.. |
35 |
|
36 |
Current setup |
37 |
PC: |
38 |
usb0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 |
39 |
inet 192.168.10.1 netmask 255.255.255.0 broadcast 192.168.10.255 |
40 |
ether ee:6c:bc:6c:03:79 txqueuelen 1000 (Ethernet) |
41 |
|
42 |
Arietta A: |
43 |
usb0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 |
44 |
inet 192.168.10.10 netmask 255.255.255.0 broadcast 192.168.10.255 |
45 |
inet6 fe80::215:f2ff:fe18:b030 prefixlen 64 scopeid 0x20<link> |
46 |
ether 00:15:f2:18:b0:30 txqueuelen 1000 (Ethernet) |
47 |
|
48 |
Arietta B: |
49 |
usb0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 |
50 |
inet 192.168.10.11 netmask 255.255.255.0 broadcast 192.168.10.255 |
51 |
inet6 fe80::215:f2ff:fe18:b030 prefixlen 64 scopeid 0x20<link> |
52 |
ether 00:15:f2:18:b0:31 txqueuelen 1000 (Ethernet) |
53 |
|
54 |
|
55 |
Tried: |
56 |
(I only have one PC...) |
57 |
Only Arietta A connected to PC: Works fine -- ssh login ok |
58 |
Only Arietta B connected to PC: Works fine -- ssh login ok |
59 |
|
60 |
Arietta A connected to PC, after it has booted Arietta B connected |
61 |
to the same (motherboard internal) usb-hub of the PC: Cant ssh to Arietta B but |
62 |
can ssh to Arietta A. |
63 |
Switch result if connecting done in opposite order. |
64 |
|
65 |
Question: |
66 |
Is one usb_0 interface on the PC enough? |
67 |
Is there something else wrong with my setup? |
68 |
|
69 |
Thanks a lot for any help in advance! |
70 |
Best regards, |
71 |
Meino |