- Community Home
- >
- Networking
- >
- Legacy
- >
- Switches, Hubs, Modems
- >
- Re: Static NAT through a 5304
Switches, Hubs, and Modems
1748068
Members
5730
Online
108758
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-08-2007 07:07 AM
01-08-2007 07:07 AM
I have 2 vlans setup on my 5304xl
vlan 1
name "DEFAULT_VLAN"
untagged A2-A16,B1-B16
ip address 111.254.183.200 255.255.255.0
no untagged A1
ip igmp
exit
vlan 2
name "LAB"
untagged A1
ip address 222.26.255.1 255.255.0.0
ip igmp
exit
What I want to do is setup the LAB as a completely standalone network with a "LAB" PC natted to an address in the 111 network
Where do I start? If I turn on routing won't it route all addresses to/from the 222 net to the 111 net? I don't want any communicaiton to/from each net other than though the NAT...
vlan 1
name "DEFAULT_VLAN"
untagged A2-A16,B1-B16
ip address 111.254.183.200 255.255.255.0
no untagged A1
ip igmp
exit
vlan 2
name "LAB"
untagged A1
ip address 222.26.255.1 255.255.0.0
ip igmp
exit
What I want to do is setup the LAB as a completely standalone network with a "LAB" PC natted to an address in the 111 network
Where do I start? If I turn on routing won't it route all addresses to/from the 222 net to the 111 net? I don't want any communicaiton to/from each net other than though the NAT...
Solved! Go to Solution.
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-08-2007 10:17 AM
01-08-2007 10:17 AM
Solution
You're correct, static NAT requires that ip routing be enabled, yet it will allow routing access between to the two VLANs for all addresses.
I think the easiest way to achieve what you need would be to use an ACL that permits only the address that is being NAT'd.
5304(config)# ip access-list standard 5304(config-std-nacl)# permit host 222.26.255.X
5304(config-std-nacl)# vlan 2
5304(vlan-2)# ip access-group 1 in
Configure the NAT'ing side as per the documentation:
ip nat static < private-ip > < public-ip >
I think the easiest way to achieve what you need would be to use an ACL that permits only the address that is being NAT'd.
5304(config)# ip access-list standard 5304(config-std-nacl)# permit host 222.26.255.X
5304(config-std-nacl)# vlan 2
5304(vlan-2)# ip access-group 1 in
Configure the NAT'ing side as per the documentation:
ip nat static < private-ip > < public-ip >
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP