[Xorp-users] How to implement NAT on xorp
naresh raga
naresh_raga at yahoo.co.in
Wed May 6 14:10:25 PDT 2009
Hai,
I have installed xorp on a system 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.My configuration file is as below:
interfaces{
interface eth2 {
description: "IT LAB"
mac: 00:0c:f1:6d:51:d3
disable: false
vif eth2 {
disable: false
address 10.64.25.77{
prefix-length: 16
broadcast: 10.64.255.255
disable: false
}
}
}
interface eth3 {
description: "PLC LAN"
mac: 00:0c:f1:6d:51:d4
disable: false
vif eth3 {
disable: false
address 172.16.0.1 {
prefix-length: 24
broadcast: 172.16.0.255
disable: false
}
}
}
}
fea {
unicast-forwarding4 {
disable: false
}
}
plumbing {
mfea4 {
disable: false
interface eth2 {
vif eth2 {
disable: false
}
}
interface eth3 {
vif eth3 {
disable: false
}
}
interface register_vif {
vif register_vif {
/* Note: this vif should be always enabled */
disable: false
}
}
traceoptions {
flag all {
disable: false
}
}
}
}
protocols {
static {
route 0.0.0.0/0 {
next-hop: 10.64.1.1
metric: 1
}
mrib-route 0.0.0.0/0 {
next-hop: 10.64.1.1
metric: 1
}
}
}
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?
Thanks in advance,
Naresh
Bollywood news, movie reviews, film trailers and more! Go to http://in.movies.yahoo.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ICSI.Berkeley.EDU/pipermail/xorp-users/attachments/20090507/c8319b44/attachment.html
More information about the Xorp-users
mailing list