Problems connecting to Wisp and WUG

Byront07

Member
Joined
Jul 22, 2005
Messages
22
Ok, basically i have two networks at home.

Network 1 : My internet via a WISP. (ZWN)
My IP settings are as follows :
IP : 192.168.57.3
SUB: 255.255.255.248
Gate : 192.168.57.1
DNS : 192.168.57.1.

Network 2 : My connection to RB Wug.
My IP settings are as follows :
IP : 172.23.1.2
SUB : 255.255.192.0
Gate : 172.23.1.15
DNS : none, its not internet.

Basically i was able to plug in either the one or the other to my network card to get them to run, but now i bought a second network card thinking i could just connect to both making life a little easier.

The Network 1 goes through my gateway 192.168.57.1 to my ISPs server being 192.168.255.255 (if i remember correctly). then to internet.

Network 2 goes through my gateway 172.23.1.15 to 172.23.0.1, my friends wug box, so that i can access his range.

When i have both plugged in and configured neither of them will work.
The internet connection (network 1) can be automatically aquired aswell but it works as static too.

please if anyone could help me it would be greatly appreciated!
 

czc

Honorary Master
Joined
Dec 2, 2008
Messages
12,013
Wouldn't asking this on one of the WUG IRC's get a more immediate response?
 

Toby

Senior Member
Joined
Apr 29, 2005
Messages
523
Use a Firewall

I would recommed that you use a Linux Hardware based firewall. Something like PFSense or Smoothwall.

You need to ensure that the WUG does not leech onto your internet connection. Could be expensive.

Some okes have used one of the spare UTP ports on their RB443 as a Internet facing connection using the Mikrotik Firewall facilities.

I am now experimenting with a RouterBoard RB750 (R400 with VAT from SCOOP) to use as an Internet Firewall as well as to host a DMZ to the WUG.

There are various ways to do it. However, consider your security and CAP.
 

kilos

Expert Member
Joined
Jun 28, 2005
Messages
2,796
Those are the Wireless LAN interface IP
I see you have not mentioned your internal LAN IP address
Lets say the following:

Network 1 : My internet via a WISP. (ZWN)
RUNNING IN BRIDGED or ROUTER mode ?
My IP settings are as follows :
IP : 192.168.0.254 (LAN)

IP : 192.168.57.3 (WLAN)
SUB: 255.255.255.248
Gate : 192.168.57.1
DNS : 192.168.57.1.

Network 2 : My connection to RB Wug.
My IP settings are as follows :
IP : 192.168.0.253 (LAN)
IP : 172.23.1.2 (WLAN)
SUB : 255.255.192.0
Gate : 172.23.1.15 should be 192.168.0.253
DNS : none, its not internet.

Setup Route in WISP Router or on Local PC
192.168.57.0 netmask 255.255.255.248 route via 192.168.0.254
172.23.1.0 netmask 255.255.192.0 route via 192.168.0.253
0.0.0.0 netmask 0.0.0.0 route via 192.168.0.254 (all other traffic routes via WiSP)

Default gateway is your WUG Router 192.168.0.253

Rather setup the
What equipment is the WiSP using ? Do you have access to the equipment, if you
do now access possible use the firewall in WUG mikrotik
 
Last edited:

dadecoza

Expert Member
Joined
Aug 30, 2006
Messages
1,294
Ok, basically i have two networks at home.

Network 1 : My internet via a WISP. (ZWN)
My IP settings are as follows :
IP : 192.168.57.3
SUB: 255.255.255.248
Gate : 192.168.57.1
DNS : 192.168.57.1.

Network 2 : My connection to RB Wug.
My IP settings are as follows :
IP : 172.23.1.2
SUB : 255.255.192.0
Gate : 172.23.1.15
DNS : none, its not internet.

try to remove the default gateway on network 2 and in command prompt add a route to only route wug traffic through that interface.

Code:
route -p add 172.23.0.0 mask 255.255.0.0 172.23.1.15
 

death192

Well-Known Member
Joined
Aug 18, 2008
Messages
120
Actually Network 2's config is as follows,

Network 2 : My connection to RB Wug.
My IP settings are as follows :
IP : 172.23.1.2 (LAN)
IP : 172.23.254.2 (WLAN)
mask : 255.255.192.0
Gate : 172.23.1.15
DNS : 172.23.0.1

The dns is sitting in my server room , he has meen allocated the 172.23.1.0/28 range on the wug with his routerboards ether01 ip address 172.23.1.15
and wlan address 172.23.254.2

Basicly what Byront07 wants to know is how to use both wug and wisp on two seperate nic's on one pc using vista without having to disconnect from either and not have any routing issues ( My Thought on this :D )
 

Atti2de

Active Member
Joined
Nov 5, 2008
Messages
95
Default gateway would be via WISP, with a static route entry for WUG - easy.

on your tik

Code:
/ip route
add dst-address=0.0.0.0/0 gateway=192.168.57.1
add dst-address=172.16.0.0/12 gateway=172.23.1.15

the line above for WUG (dst-address=172.16.0.0/12) could be narrowed down for your wug only, ie. dst-address=172.23.0.0/18.

Your subnet mask, "255.255.192.0", or /18 seems wrong. You mention a /28 subnet, then the mask would be 255.255.255.240.
Remember to specify the correct subnet mask per interface - this WILL cause issues.

To resolve the DNS issue, set your local DNS server to forward requests to the external DNS servers, except for anything within namespace .rbwug. You could also slave that zone directly from one of the rbwug servers, and host the DNS service locally/ for other users.

We have setup a form of Anycast DNS which allows you to use one ip address all over the wug, and have the DNS requests forwarded to the closest available DNS server.
 

death192

Well-Known Member
Joined
Aug 18, 2008
Messages
120
Default gateway would be via WISP, with a static route entry for WUG - easy.

on your tik

Code:
/ip route
add dst-address=0.0.0.0/0 gateway=192.168.57.1
add dst-address=172.16.0.0/12 gateway=172.23.1.15

the line above for WUG (dst-address=172.16.0.0/12) could be narrowed down for your wug only, ie. dst-address=172.23.0.0/18.

Your subnet mask, "255.255.192.0", or /18 seems wrong. You mention a /28 subnet, then the mask would be 255.255.255.240.
Remember to specify the correct subnet mask per interface - this WILL cause issues.

To resolve the DNS issue, set your local DNS server to forward requests to the external DNS servers, except for anything within namespace .rbwug. You could also slave that zone directly from one of the rbwug servers, and host the DNS service locally/ for other users.

We have setup a form of Anycast DNS which allows you to use one ip address all over the wug, and have the DNS requests forwarded to the closest available DNS server.

Thanks Atti2de

The issue has been resolved , i sat with byront07 , but we didnt need to mod anything on the tik ;)
 
Top