Community discussions

MikroTik App
 
igor
just joined
Topic Author
Posts: 5
Joined: Thu Jul 28, 2005 12:27 pm

routing 2 public networks

Thu Jul 28, 2005 12:36 pm

We have 2 interfaces.

The first interface has a public ip.
I'd like to use public ip-s on the second inteface, I have a C class ip range.
The public ip-s on the second interface side must be visible from the public net.

1. interface: 195.x.x.x/32
2. interface: 193.x.x.x/24

How can I handle this with Routeros 2.8?
 
User avatar
Roman
Frequent Visitor
Frequent Visitor
Posts: 81
Joined: Wed Oct 06, 2004 11:24 am

Thu Jul 28, 2005 2:37 pm

you can simply bridge them
 
User avatar
Roman
Frequent Visitor
Frequent Visitor
Posts: 81
Joined: Wed Oct 06, 2004 11:24 am

Thu Jul 28, 2005 2:40 pm

..or you can give all ips to 1st interface, private range to 2nd and do 1 to 1 nat from 2nd interface to 193.x.x.x/24
 
User avatar
Eugene
Forum Veteran
Forum Veteran
Posts: 986
Joined: Mon May 31, 2004 5:06 pm
Location: Cranfield, UK

Thu Jul 28, 2005 3:06 pm

 
igor
just joined
Topic Author
Posts: 5
Joined: Thu Jul 28, 2005 12:27 pm

bridge

Thu Jul 28, 2005 4:12 pm

you can simply bridge them
How can I bridge them, if the two nets are different?
 
igor
just joined
Topic Author
Posts: 5
Joined: Thu Jul 28, 2005 12:27 pm

Thu Jul 28, 2005 5:06 pm

..or you can give all ips to 1st interface, private range to 2nd and do 1 to 1 nat from 2nd interface to 193.x.x.x/24
I don't want to use private range on 2nd. I'd like to assign the public ip for the connected client on the 2nd side.
 
UniKyrn
Member Candidate
Member Candidate
Posts: 245
Joined: Fri Dec 24, 2004 9:27 pm
Location: Spokane, WA

Thu Jul 28, 2005 5:31 pm

Does your ISP know you've got both IP blocks? Who's announcing the routing for them to the rest of the Internet? You? Your ISP? If you've done the routing right, with the gateway for the netblock on the second interface being the IP address of the first interface, everything will simply work.
 
igor
just joined
Topic Author
Posts: 5
Joined: Thu Jul 28, 2005 12:27 pm

Thu Jul 28, 2005 6:20 pm

Does your ISP know you've got both IP blocks? Who's announcing the routing for them to the rest of the Internet? You? Your ISP? If you've done the routing right, with the gateway for the netblock on the second interface being the IP address of the first interface, everything will simply work.
The problem is at the ISP side. I've logged in to one of our co-location servers at that isp, and the network on the 2nd is visible from there. But from outside it isn't. Thanks for help.