Skip to main content

public and private in a single interface in packet tracer

More
14 years 8 months ago #33972 by S0lo
I'm assumming you have the topology as Nevins showed. Assuming also you configured the switch port connected to the router as a trunk port and that you've defined the two VLANs in the switch.

First you need to add another entry to the ACL 1 to allow the 100.100.100.x network, like this:

[code:1]access-list 1 permit 100.100.100.128 0.0.0.31[/code:1]

Second you need another ip nat inside for interface Fa0/0.1

[code:1]interface FastEthernet0/0.1
ip nat inside[/code:1]

Third, are your 100.100.100.x network PCs getting IPs via DHCP, there is no pool for them in the router. Some thing like this:

[code:1]ip dhcp pool dhcp02
network 100.100.100.128 255.255.255.224
default-router 100.100.100.129
dns-server 100.100.100.2[/code:1]

This was done on hurry, so you might need to recheck. Hope it works.

Studying CCNP...

Ammar Muqaddas
Forum Moderator
www.firewall.cx
Time to create page: 0.137 seconds