Re: [Linux-vrf-general] Help needed
Status: Beta
Brought to you by:
jleu
|
From: Rajeev B. <ra...@in...> - 2006-04-28 08:15:38
|
Hi jeongholee, Thanks for reverting back to me. Yeah I am running ssh and telnet server on VRF 0, and I would like to tell you one more thing here is, when I am doing traceroute -d <IP of my VRF 1 (eth1)>, from VRF 2 (eth2), I am getting the error "Network is unreachable" and Socket operation is failed, but I can run the simple traceroute successfully. Thanks Rajeev Bansal. At 01:07 PM 4/28/2006, you wrote: >Hi. >Please read the line below.. > >----- Original Message ----- >From: "Rajeev Bansal" <ra...@in...> >To: <lin...@li...> >Sent: Friday, April 28, 2006 3:40 PM >Subject: [Linux-vrf-general] Help needed > > >>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. > > As far as I know... > The first thing that you have to know is that every process >including ssh, telnet > is running under vrf 0 not the others. > > Even if you tried to establish ssh connection to vrf 1 or 2 on each box. > There is no ssh service process on those vrfs. > > You might have to assign ssh server or telnet server to each vrfs >using chvrf tools. > Honestly, I haven't done this before. > - Jeong Ho. >> >>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. >> >> >> >> >> >>------------------------------------------------------- >>Using Tomcat but need to do more? Need to support web services, security? >>Get stuff done quickly with pre-integrated technology to make your job easier >>Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo >>http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 >>_______________________________________________ >>Linux-vrf-general mailing list >>Lin...@li... >>https://lists.sourceforge.net/lists/listinfo/linux-vrf-general > |