[lug] cisco678 - PPP - /29

j davis davis_compz at hotmail.com
Sun Nov 3 14:23:07 MST 2002


>Using eth0 and vip0, the only way I could finally get it to both NAT and
>route was to add the following to configure the outside port for NAT.  I
>assume you want to keep NAT enabled.  Qwest 2nd tier support and ISP were
>not helpful and I had to dig this out of CISCO docs and even that wasn't
>clear that it was the issue. (FWIW, Cisco 675s did this fine out of the
>box).
>
>set int wan0-0 outside-ip 209.155.171.204 (in your case)
>
>Also do
>show int eth0
>and
>show int vip0
>
>Your public subnet should be set to outside.  Your rfc1918 subnets should 
>be
>set to inside.  I recently added a second rfc1918 subnet to vip1 and had to
>issue
>set int vip1 inside
>to get NAT working on that subnet.  It defaulted to outside for some 
>reason.
>
>Remember
>write
>reboot
>following any changes.
>
>I assume you've added the route for your subnet then.  If not, you'll need
>to.
>
>Frank Whiteley
>Greeley


Hi Frank,
I think i did all that you said. But my connection for the non nat-ed
public ips on vip0 comes and goes.I did not add any routes though.
Below are the outputs of sho run and sho route and sho int. Could
you tell me if everything looks right....Also, when i ping
out from a ip on the vip0 subnet (ie 209.155.171.213) I can see
that the trafffic is making the internet...i think, i feel the problem
is getting a route back in. I dont reall care to have nat working..
just the only way i have gotten any connection at all.

Thanks for your time,
jd


sho route....
cbos#sho route
[TARGET]         [MASK]           [GATEWAY]       [M][P] [TYPE]    [IF]   
[AGE]
0.0.0.0          0.0.0.0          0.0.0.0          1     SA        WAN0-0   
0
209.155.168.208  255.255.255.248  0.0.0.0          1     LA        VIP0     
0
10.0.0.0         255.255.255.0    0.0.0.0          1     LA        ETH0     
0
209.155.171.0    255.255.255.0    0.0.0.0          1     A         WAN0-0   
0

WAN Interfaces...
209.155.171.1    255.255.255.255  0.0.0.0          1     HA        WAN0-0   
0

sho run.....
cbos#sho run
Warning: traffic may pause while NVRAM is being accessed
[[ CBOS = Section Start ]]
NSOS MD5 Enable Password = 
C64100007F160000812700006C44000046D96F11BD497788276568D7C2CDE806
NSOS Virtual IP Address = 00, 209.155.168.209
NSOS Virtual Netmask = 00, 255.255.255.248
NSOS MD5 Root Password = 
853F00006E320000A9490000B4330000914727EC332C66E2F49CB967AA468568
NSOS MD5 Commander Password = C84054704F94363D751400453E424DFC
[[ PPP Device Driver = Section Start ]]
PPP Port Option = 00, IPCP,IP Address,3,Auto,Negotiation Not 
Required,Negotiable,IP,209.155.171.204
PPP Port Option = 00, IPCP,Primary DNS Server,129,Auto,Negotiation Not 
Required,Negotiable,IP,0.0.0.0
PPP Port Option = 00, IPCP,Secondary DNS Server,131,Auto,Negotiation Not 
Required,Negotiable,IP,0.0.0.0
PPP Port User Name = 00, jdavis
PPP Port User Password = 00, ****
[[ ATM WAN Device Driver = Section Start ]]
ATM WAN Virtual Connection Parms = 00, 0, 32, 0
[[ IP Routing = Section Start ]]
IP NAT = enabled
IP NAT Outside IP = 209.155.171.204

sho int...

cbos#sho int
           IP Address         Mask
eth0       10.0.0.1           255.255.255.0

vip0       209.155.168.209    255.255.255.248

vip1       0.0.0.0            255.255.255.0

vip2       0.0.0.0            255.255.255.0

wan0       Physical Port: Trained

           Dest IP Address    Mask
wan0-0     209.155.171.1      255.255.255.255

sho nat....

cbos#sho nat

NAT is currently enabled

Port      Network        Global
eth0      Inside
wan0-0    Outside      209.155.171.204
vip0      Outside      209.155.168.209
vip1      Outside
vip2      Outside

      Local IP : Port      Global IP : Port      Timer Flags    Proto 
Interface
       10.0.0.2:32808 209.155.168.209:10001    86400   0x00046  tcp   eth0 
vip0
       10.0.0.2:32769 209.155.171.204:10001       90   0x00046  udp   eth0 
wan0-0
       10.0.0.2:40744 209.155.171.204:40744       30   0x00046  icmp  eth0 
wan0-0
       10.0.0.1:1329  209.155.171.204:1329        30   0x0004A  icmp  eth0 
wan0-0


_________________________________________________________________
Broadband? Dial-up? Get reliable MSN Internet Access. 
http://resourcecenter.msn.com/access/plans/default.asp




More information about the LUG mailing list