Home > other >  Two questions about home routers
Two questions about home routers

Time:10-01

Problem a:
As shown, like we use routers, in the family use the NAT technology, gateway for 192.168.0.1, pick up the equipment IP for 192.168.0. X (2 ~ 254),
I want to ask is, I can not use private IP, such as I will be the gateway to 202.168.0.1, then change the equipment IP to 202.168.0. X (2 ~ 254), so I can ping to the outside network?

Problem two:
As shown, the use of two families with routers A and B, which connect outside network, A gateway for 192.168.0.1, B of A LAN wan mouth after A mouth, to route B IP for 192.168.0.2, the problem is in the routing hosts 3 and host 4 B, also can use IP: 192.168.0.3 and IP: 192.168.0.4 and set up the gateway 192.168.0.1? PS: in fact is to use NAT technology route the next layer of NAT technology can continue to use?

CodePudding user response:

One should be able to issue two unclear words you bring your router to try or try the simulator can results

CodePudding user response:

To say is, upstairs.

CodePudding user response:

Question 1: if you let the computer to use public IP, then you can only be a computer on the Internet, because an IP on public support only one terminal, there is no need to get the router, direct dialing,
Question 2: two can, but can only choose one, the secondary routing can be and grade 1 after NAT network segment using the same IP address, can't exchange of visits between PC1/2 and PC3/4, the routing is nearby principle,

CodePudding user response:

Then it is good to set the network IP with a computer directly

CodePudding user response:

reference Scorpic_lh reply: 3/f
question 1: if you let the computer to use public IP, then you can only be a computer on the Internet, because an IP on public support only one terminal, there is no need to get the router, direct dialing,
Question 2: two can, but can only choose one, the secondary routing can be and grade 1 after NAT network segment using the same IP address, PC1 and PC3/4/2 visits, routing is nearby principle,

So if there is no use PC1 PC3/4/2 IP, PC3/4 can ping PC1/2

CodePudding user response:

A
Can use public IP, but you try to match the IP to your LAN, corresponding to the IP on public place all the IP network segment, you can't access, and all over the period of address can access

2
The B segment and A stagger, otherwise it will due to the network segment overlap can't normal communication, network communication, not to find the IP address to target, but according to the network segment, regardless of whether A and B have the address of the repetitive, cannot work normally

CodePudding user response:

This is very simple, do what the static routing,

CodePudding user response:

Problem a logically can be such a configuration, but access to the network of the network segment 202.168.0. X (2 ~ 254) of the host will not be able to access,
Question 2 can realize routing the next layer of NAT technology can continue to use NAT technology, but another router to configure another network segment

CodePudding user response:

Home Internet access, the first can not, the second connection, routing B must use NAT, and internal IP cannot and WAN port on the same network segment

CodePudding user response:

Agree with above positive solution, can see the article tcpip protocol

CodePudding user response:

Question 1: can
Question 2: can
NAT do casually, operators do NAT because address is not enough to use, just at the time of forward exchange needs to consider,

CodePudding user response:

Small white insights: network is another independent open, but the network is a large space IP is unlikely to be repeated, but Intranet can,

CodePudding user response:

The first problem, a lot of people said the
Second question, if you don't want to use, so the second router this part of the mouth to the LAN port, and then shut down the DHCP function, also is to use the router as a switch

CodePudding user response:

Can't, operators pppoe pass,

CodePudding user response:

Is a fixed IP networks outside, relay can be the first one, the second method may be rejected,
  • Related