大网数据广告活动
服务器运维问答

New IP addressing from ISP

· 52CE 我爱测

We just got a new Internet fiber service. Our ISP gave us a /30 for WAN and /29 for LAN? I have never seen this when setting up a new ISP service. I was always given a block of ip addresses (if needed) in the same range. So the W…

问题原文

原帖链接 · user202045 · CC BY-SA 3.0

We just got a new Internet fiber service. Our ISP gave us a /30 for WAN and /29 for LAN? I have never seen this when setting up a new ISP service. I was always given a block of ip addresses (if needed) in the same range. So the WAN address gateway that was given is assigned to the router from the ISP. So if I setup our FW to use that usable /30 address (with the gateway their equipment), I can get on the Internet.

However, I am not sure how to setup the /29 they gave us? We requested 5 IP's for web servers / VPN server / other server.

Does this require us to get a router? We typically use our FW (CISCO PIX 515) and the router that the ISP provided as the route outside. However, the /30 and the /29 are different addresses.

Is this now the norm?

已采纳解答

原帖链接 · TheCleaner · CC BY-SA 3.0

While TomTom is correct based on his reading of the question, the OP might also be referring to a very common provisioning that ISPs do. The OP is calling it "LAN" IPs, but in reality they are WAN IPs assigned for his LAN "devices".

An example would be:

ISP assigns the "WAN" to a /30:

ISP side = 1.1.1.1

WAN port on router = 1.1.1.2

ISP also assigns a small block of useable addresses for things like Exchange, FTP, web server, etc. This is because the OP/customer requests it. "I need 5 IPs for some of my devices to be accessible from the internet..."

Assigned /29 = 4.4.4.1 - 4.4.4.6

Now the OP/customer gets confused. "How does 4.4.4.x route to 1.1.1.2? How do I set that up on my router...I don't get it. Why isn't it all part of the same subnet block?"

The ISP will route the 4.4.4.x/29 addresses across to the 1.1.1.2 address on the customer side. It is then up to the customer to use these addresses for whatever purposes (generally either a static NAT or similar).

So on the customer router/firewall you would (for instance) setup a static NAT for 4.4.4.1 to NAT internally to the Exchange server at 10.10.10.15. Then Exchange on the "internet" would be 4.4.4.1 (with applicable port/directional policies/firewall rules as needed).

It's pretty common for an ISP to do this (assign a different block for the "/30 WAN" and the "customer's internet IP's for their LAN equipment").

摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。

资料来源与适用范围

资料来源
Server Fault
适用范围
以原帖系统、软件版本与发布日期为准(2013-12-10)
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY-SA 3.0

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。