<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;"><br><br>--- On <b>Thu, 7/5/09, naresh raga <i><naresh_raga@yahoo.co.in></i></b> wrote:<br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><br>From: naresh raga <naresh_raga@yahoo.co.in><br>Subject: [Xorp-users] How to implement NAT on xorp<br>To: Xorp-users@xorp.org<br>Date: Thursday, 7 May, 2009, 2:40 AM<br><br><div id="yiv120547599"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td style="font-family: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; font-size: inherit; line-height: inherit; font-size-adjust: inherit; font-stretch: inherit; -x-system-font: none;" valign="top">Hai,<br>I have installed xorp on a system(PC) with two NICs(eth2 and eth3).Internet connection has been given to eth2.I want to get internet on a laptop connected to eth3.I am able to
ping eth3(172.16.0.1) from my laptop but unable to get internet on it.<br><br>Inernet-------|eth2|PC|eth3|-----------laptop(I need net on this laptop).<br><br>My configuration file is as below:<br><br>interfaces{<br>interface eth2 {<br> description: "IT LAB"<br> mac: 00:0c:f1:6d:51:d3 <br> disable: false<br> vif eth2 {<br> disable: false<br> address 10.64.25.77{ //active net connection IP<br> prefix-length: 16<br> broadcast: 10.64.255.255<br> disable: false<br> }<br> }<br> }<br>interface eth3
{<br> description: "PLC LAN"<br> mac: 00:0c:f1:6d:51:d4 <br> disable: false<br> vif eth3 {<br> disable: false<br> address 172.16.0.1 {<br> prefix-length: 24<br> broadcast: 172.16.0.255<br> disable: false<br> }<br> <br> }<br> }<br>}<br>fea {<br> unicast-forwarding4 {<br> disable: false<br> }<br>}<br><br>plumbing {<br> mfea4 {<br> disable: false<br> interface eth2 {<br> vif eth2 {<br> disable: false<br> }<br>
}<br> interface eth3 {<br> vif eth3 {<br> disable: false<br> }<br> }<br> <br> interface register_vif {<br> vif register_vif {<br> /* Note: this vif should be always enabled */<br> disable: false<br> }<br> }<br> traceoptions {<br> flag all {<br> disable: false<br> }<br> }<br> }<br>}<br><br>protocols {<br> static {<br> route 0.0.0.0/0 {<br> next-hop: 10.64.1.1<br> metric: 1<br>
}<br> mrib-route 0.0.0.0/0 {<br> next-hop: 10.64.1.1<br> metric: 1<br> }<br> }<br>}<br>Here 10.64.1.1 is my lab main router.<br>When I am trying to connect to net on my laptop(connected to eth3),I am unable to connect.But I can ping to eth3.What could be the problem?What more I have to add to this file for implementing getting net on my laptop?Do I need to implement IBGP protocol?<br>Please help me out as this is part of my minor project..<br><br>Thanks in advance,<br>Naresh <br><br></td></tr></tbody></table><br>
<hr size="1"> Now surf faster and smarter ! Check out the new Firefox 3 - Yahoo! Edition * <a rel="nofollow" target="_blank" href="http://in.rd.yahoo.com/tagline_firefox_1/*http://downloads.yahoo.com/in/firefox/?fr=om_email_firefox"> Click here!</a></div><br>-----Inline Attachment Follows-----<br><br><div class="plainMail">_______________________________________________<br>Xorp-users mailing list<br><a ymailto="mailto:Xorp-users@xorp.org" href="/mc/compose?to=Xorp-users@xorp.org">Xorp-users@xorp.org</a><br><a href="http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-users" target="_blank">http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-users</a><br></div></blockquote></td></tr></table><br>
<!--1--><hr size=1></hr> Bollywood news, movie reviews, film trailers and more! <a href="http://in.rd.yahoo.com/tagline_movies_1/*http://in.movies.yahoo.com/?wm=n/"> Click here.</a>