[Linux-vrf-general] Help needed
Status: Beta
Brought to you by:
jleu
|
From: Rajeev B. <ra...@in...> - 2006-04-28 06:42:14
|
Hello, I am trying to simulate one simple setup using VRF on my Linux box but I am not able to simulate that, so can anyone tell me where I am going wrong or do I need to do something else. Setup description: |----------------------------|-eth0 (Outer World) | | |-------------------------------| | |--eth1====== eth0-| Box B | | Box A | | VRF not enabled | | VRF enabled |---eth2====== eth1-| | |--------------------------- | |-------------------------------| I have two Linux box, lets say Box A and Box B, in one box I have enabled the VRF and created two VRF 1 and 2, to which I linked eth1 and eth2 respectively. I have assigned the following IP address to the boxes. Box-A eth0: 172.16.1.120 Box-A eth1: 192.168.1.1 linked with VRF1 Box-A eth2: 192.168.2.1 linked with VRF2 Box-B eth0 192.168.1.2 Box-B eth1 192.168.2.2 Now I want to SSH,telnet or any thing from BoxA eth1 to BoxA eth0 or vice versa, via Box B. For that I added the route on both the virtual interface and enabled the packet forwarding in my Box B. By doing this I am able to ping from Box A eth0 to Box A eth1 and I can see the ICMP packets coming and going via my Box B. But I am not able to do SSH or telnet. Can any one tell me why my ping is working but not the ssh and telnet, and does vrf supports this kind of feature or not. Please let me know if this scenario is not clear or need more info. Routing table of Box A #ip route show 172.16.1.0/24 dev eth0 proto kernel scope link src 172.16.1.120 default via 172.16.1.254 dev eth0 192.168.2.0/24 via 192.168.1.2 dev eth1 vrf 1 192.168.1.0/24 dev eth1 proto kernel scope link src 192.168.1.1 vrf 1 192.168.2.0/24 dev eth2 proto kernel scope link src 192.168.2.1 vrf 2 192.168.1.0/24 via 192.168.2.2 dev eth2 vrf 2 Thanks in advance. Rajeev Bansal. |