Routing Subnet?

Unanswered Question
Jul 13th, 2005

Hi,

We've got a Cisco 828 with an extra block of public addresses. Extra block (lets say 82...) gets routed to 1 other address (lets say 222...), by our ISP.

Now we want to get some 'internal' machines using those 82...-addresses. But we don't exactly see how to route or how to modify our 828 in a correct way to handle incoming 82...-requests.

Lan-access (NAT) is not a problem...

Any snippet of code would be really handy.

Thanks,

Fré

I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Average Rating: 0 (0 ratings)
johansens Wed, 07/13/2005 - 10:15

If you don't need the "internal" machines to have these new public addresses directly, but can settle for NAT'ing, then it's relatively easy:

interface ATM0

ip address 222.222.222.2 255.255.255.252

ip nat outside

no ip unreachables

!

interface Ethernet0

ip address 10.10.10.1 255.255.255.0

ip nat inside

!

! The following route should be you public NAT network

ip route 82.82.82.0 255.255.255.0 Null0

ip nat inside source static 10.10.10.10 82.82.82.10

ip nat inside source static 10.10.10.11 82.82.82.11

!

This is given that the ISP routes the 82... network to your interface address on the ATM-link..

But if you want the "internal" machines to have the public addresses configured, you could put a secondary address on your internal LAN-if:

NOTE: THIS IS NOT A RECOMMENDED SOLUTION!!

interface ATM0

ip address 222.222.222.2 255.255.255.252

ip nat outside

no ip unreachables

!

interface Ethernet0

ip address 10.10.10.1 255.255.255.0

ip address 82.82.82.1 255.255.255.0 secondary

ip nat inside

!

Now you can have both internal addresses and public addresses on the LAN.. but... THIS IS NOT A RECOMMENDED SOLUTION!!!

Actions

Login or Register to take actions

This Discussion

Posted July 13, 2005 at 7:09 AM
Stats:
Replies:1 Avg. Rating:
Views:282 Votes:0
Shares:0
Tags: No tags.

Discussions Leaderboard