I have 6 Static IP pool in which one static IP I put on rv016 router's wan1 port and second Static IP I put on DMZ port and Third Static IP I put on Linux server and now big time prob is what can I put in server gateway field and in the end I put DMZ port IP as a server gateway.
First time it works but when Restart my server and router then I check nothing is working now. Then switch off my router's firewall and then check then also not working. Now I don't now how can I map router's DMZ port with linux server then it can be access remotely and local network users can also access it. Plz help ASAP.

Dani AI

Generated

For : the symptom you described (server reachable at first, then dead after a reboot) almost always comes from a gateway/routing mismatch between how the ISP assigned the extra public IPs and how the router exposes its DMZ port. Before changing server settings, confirm with the ISP whether the extra addresses were (a) given as a routed block to your router or (b) placed on the same Layer‑2 network as the ISP gateway. That distinction decides the correct gateway and whether the DMZ must be bridged or routed.

Two common setups and what to do

  • Routed block: the ISP routes a small public subnet to your router’s WAN address. The router must either own an IP in that routed subnet on its DMZ interface or have a static route to it. In that case the Linux server gets a public IP from the routed block and uses the router’s DMZ interface as its default gateway.
  • Flat L2 (same network): the DMZ port must act like a transparent switch to the ISP segment. The server then uses the ISP gateway as its default route (not the router’s internal address). If the router cannot bridge the DMZ correctly, use 1:1 NAT or port forwarding to map a public IP to a private server IP.

Quick Linux checks and examples (replace addresses with your assigned ones)

# inspect current settings
ip addr show
ip route show

# example temporary static setup (documentation addresses shown)
ip addr add 203.0.113.10/29 dev eth0
ip route add default via 203.0.113.9

# troubleshooting helpers
arp -n
tcpdump -n -i eth0 arp or icmp

Troubleshooting checklist (practical steps)

  • Ask ISP to confirm whether the block is routed or on the same L2 and what the correct gateway IP is.
  • Test by plugging a laptop into the DMZ port and assigning one of the public IPs to verify reachability.
  • Check for IP conflicts, wrong netmask, or wrong gateway on the server.
  • Boot order: router first, then server.
  • If multiple DMZ hosts are needed, connect a small switch to the DMZ port (as suggested) once the DMZ mode is confirmed.
    If the router cannot present the public IPs correctly, use port forwarding/1:1 NAT as a reliable workaround.

Recommended Answers

All 4 Replies

Could you draw your topology in Visio or paint so that we can solve your problem?
I personally don't understand what you've said.

600) 1(_)[|<.

/me is dazed and confused

Ok No worries I explain u guys in detail I have one linksys router Model no RV016 in which total 16 ports. 13 Lan ports, 2 Wan ports and 1 DMZ port. I am using 1.5 MB leased line for calling purpose and running 15 to 18 system for calling in the call center. I put that internet lease line in router's wan port no 1 I got 8 static IP pool with this lease line to 87. is a network id and 81 is gateway and 87 is broadcast IP and I put this IP in router wan port no 1 now I have 4 more IP left ok now I want to configure the DMZ port for linux server because I want internal and external both users can access this server. so how can I configure the linux server on DMZ port.


I know that to configure the DMZ port we need static IP that thing I have now what's the next step to configure it.

if you have a real DMZ there, it'sd not a single IP - it's an actual range of IP addresses with their own bcast address and gateway. for the DMZ to work, they need to be public IPS reachable from the internet, probably on the same public network as your gateway.

so you connect a small switch to the DMZ port, connect the DMZ servers to it, and Bob's your uncle.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.