Hello List,

For a set up here, we have a ROACH1 with it 10GbE (assigned to 10.0.0.30) ports 
connected to a HP 5412l switch’s VLAN (subnet 10.0.0.0/24). Is there a way to 
get the ROACH1’s 10GbE packets on a second VLAN (subnet 10.0.2.0/24) on the 
same switch?

On starting tgtap, the following routing table looks as follows on the ROACH1:

root@dhcpeff64253:~# route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
10.0.0.0        0.0.0.0         255.255.255.0   U     0      0        0 tap0
134.104.64.0    0.0.0.0         255.255.240.0   U     0      0        0 eth0
0.0.0.0         134.104.64.16   0.0.0.0         UG    0      0        0 eth0


I did manually add a static route on the ROACH1 as soon as the gateway was 
loaded: route add -net 10.0.2.0 netmask 255.255.255.0 gw 10.0.0.200 dev tap0

I have enabled routing on the switch, and I can ping 10.0.2.20 from 10.0.0.11 
on adding relevant static routes on both machines. However this doesn’t work 
for the ROACH1. What is going wrong here?

Cheers,
Ramesh

Reply via email to