Simultaneous operation of LAN and WAN using wi-fi router

0 like 0 dislike
20 views
Immediately wildly I apologize for repeating the topic, but now I have all the data on the structure of our network in the Dorm and re-read dozens of pages on the specifics of my router.

Background: is a wi-fi router ASUS RT-G32 B1, to it on WAN connects twisted pair to the LAN hostels and Internet, but this connection is only available internal network between our two laptops and a global network.
When connected via LAN, respectively, an external LAN, but without Internet.

Problem: actually, a subject.

Internet
Connection type: PPPoE
WAN IP address: 10.100.95.254
Subnet mask: 255.255.255.255
Gateway: 10.100.95.1
DNS servers: 217.116.62.228 217.116.62.233
Connection status: Connected

LAN
LAN IP address: 172.25.75.1
Subnet mask: 255.255.0.0
Gateway: 172.25.0.1
The assignment of addresses by DHCP.

Replaced the firmware on 7.01.24 Rev. B1 (7.12.10).

The link habrahabr.ru/qa/3815/ helped me a lot with configuring routing abrowser for which he thanks a lot, but so far our efforts have been unsuccessful.

Very well want to customize everything!
by | 20 views

6 Answers

0 like 0 dislike
ASUS RT-G32 B1? RaLink 3052? Put wive-ng-rtnl. There is everything from a half-kick is adjustable.
by
0 like 0 dislike
Perhaps the problem is in the routes? on DIR300 very hapnul grief with nostrily under your home provider.
by
0 like 0 dislike
MADSKILLZ-version: the LAN cable of the hostel to the LAN1 port, patch cord (you may need cross, but it is unlikely) from the port of LAN2 to WAN.
by
0 like 0 dislike
Try the firmware V3.0.2.1 Ru09.
by
0 like 0 dislike
1) Try when connecting via LAN to see where lost packets bound for the Internet. To do this, type "tracert habrahabr.ru" (to Win the host, or "traceroute habrahabr.ru" if you have linux). Look at what stage they are lost
2) Display the routing table on the host and on the router. The host can type "route PRINT" to Win.
3) can assume that on the host there is no default route that leads to the Internet. Should be something like:
ip route 0.0.0.0 0.0.0.0 metric 1 10.100.95.1
This entry will direct all the packets for which you will not find a more specific entry in the routing table on the ISP gateway to the Internet (10.100.95.1 as I understand it)
by
0 like 0 dislike
>>What addresses are used in the “external” LAN? kekoz, today at 00:52
>172.25.xx.xx
>I have set up a internal LAN router as well thinking that something will come of it.
\r
This is your main problem.
\r
It is necessary to connect via the WAN.
\r
Now the “fingers” show: if in your LAN are used the same addresses as in the external (as, incidentally, were you going to resolve ip address conflicts?), from the point of view of the router handling your computers to compaw external units do not require routing. This means that packets are sent only on LAN ports, the WAN port they just don't get. To solve the problem in two ways:
\r
1. proxy-arp. All requests from the external units of the form “What is the mac address the host 172.25.xxx.xxx (xxx.xxx — your local area)?” your router on the WAN port responds, “That's me!” Even if this is your piece of hardware, I don't know you're on your own.
\r
2. the ip addresses in your network must be from different ip space. But this raises the following problem.
\r
Again on the fingers show. Let's say you do inside 192.168.25.0/24. With your host 192.168.25.5 you pinguely 172.25.25.25. The packet comes into your router. The router sees that the packet is assigned to a different network, it throws on the WAN port. There he gets to 172.25.25.25. He gives birth to a response to a ping. Package from 172.25.25.25 to 192.168.25.25. And where will he go? Where external hosts in the LAN can know what packets to 192.168.25.0/24 to send on your router? But they do not know this. And because of the responses from the external units to yourself that you will not get. Here again two solutions:
\r
1. To make the external LAN knew about your network. If you are not an administrator of this most external units, the task is hardly solvable :) — you either need to raise the appropriate static route or some routing Protocol (even RIP).
\r
2. Packets from your network should look as if they are all the same from the external network. Here it is very simple — it's NAT. And this is your router definitely can. That's what you should do.
by

Related questions

0 like 0 dislike
7 answers
0 like 0 dislike
7 answers
0 like 0 dislike
7 answers
110,608 questions
257,186 answers
0 comments
32,866 users