Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I recently changed my internet provider and wireless AP, now the DMZ cannot access the internet.
My Setup:
Wireless LAN - Wireless AP (D-Link Dir-655) - Linux Server - AT&T Modem - Internet
Everything worked properly before the setup and no changes have been made on the Linux Server/Firewall(shorewall).
My LAN can access the internet and the firewall but the firewall cannot access the internet. The only problem That I know of is that my LAN is on 192.168.0.* and the internal NIC of the Linux Server is 192.168.1.1 but since my LAN can access the internet (that goes through the Linux Server) it just seems odd why the server cannot.
1. Where in the diagram is your DMZ? ok I guess there isnt a DMZ
2. What did you [have to] change when you made the ISP switch? Almost nothing... once I got access to the internet, I just plugged the modem into the server, modified my interfaces file (see below) and it worked.
Code:
# The loopback network interface
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
address 192.168.1.1
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.1.255
auto dsl-provider
iface dsl-provider inet ppp
pre-up /sbin/ifconfig eth1 up # line maintained by pppoeconf
provider dsl-provider
3. Who was your previous ISP? Local cable provider (outsourced from charter)
FEATURES
Single Ethernet port for simple DSL Internet connection. Fully supported by AT&T DSL Customer Support. This DSL Modem is currently designed for customers enjoying AT&T DSL in Arkansas, California, Connecticut, Illinois, Indiana, Kansas, Michigan, Missouri, Nevada, Ohio, Oklahoma, Texas, and Wisconsin. Please do not purchase if you are living in Alabama, Florida, Kentucky, Georgia, Louisiana, Mississippi, North Carolina, Tennessee, or South Carolina.
Item SKU: 2210-02-1022K(Motorola DSL Modem Model 2210)
TECHNICAL SPECS
LEDs: Power, Ethernet, DSL, Internet, and Activity Indicators
WAN Interface – ADSL (RJ-11)
ADSL Device configured for AT&T DSL services
8 Perm
ATM Adaptation Layer 5 (AAL5)
LAN Interface – Single Port Ethernet 10/100BASE-T Ethernet (RJ-45)
GTFan
Not for me in the 8 months I've had it. It might crap out eventually, but it's still going strong now. Has a decent router built in too, although you have to use telnet to access some of the common stuff, like DHCP reservations. Doesn't run hot either, but I think I got one of the later SNs with the chipset that doesn't have this problem.
The reference to DHCP explicitly answers where the LAN IP address assignments are, or should be, coming from (remember, this is AT&T we/he are dealing w/ here).
If it matters, the reference to Texas tells us that the WAN IP is obtained through PPPoE.
Each of the #'s, 1-6, represents a interface & it's IP address.
Code:
# IP Address Description
0 W.X.Y.Z ISP provided via PPPoE
1 192.168.m.1 modem's LAN - gateway & DHCP server
2 192.168.m.q modem provided via DHCP
3 192.168.1.1 Firewall's LAN - gateway, DHCP server off
4 192.168.1.s static IP for Firewall's LAN
5 192.168.0.1 WiFi gateway & DHCP server
6 192.168.n.1 wired gateway & DHCP server
If you consider a "LAN" to be the hosts served by a DHCP server or any home subnet, then there are 4 "LAN's" here:
the modem's LAN -- consisting of it & the Firewall's WAN port,
the Firewall's LAN -- consisting of it & the DIR-655's WAN port,
the DIR-655's WiFi cloud,
the DIR-655's wired ports (4).
They may not be needed to solve your problem, but we still don't know the values of m, q, s, & n.
The WAN IP is obtained via PPPoE.
Eth0 192.168.1.1 static
Eth1 192.168.1.64 dynamic (I assume this is assigned by the modem and I have no idea how/if it can be configured)
I found out the server could not connect when trying to get updates, after that i tried to ping, telnet, or just access the web via browser.. none worked.
Yes the previous configuration (charter) did allow me to connect to the web, but eth1 was my external (internet) IP address.
The old interfaces file was exactaly the same except it did not have the following lines:
Quote:
auto dsl-provider
iface dsl-provider inet ppp
pre-up /sbin/ifconfig eth1 up # line maintained by pppoeconf
provider dsl-provider
If my firewall does not connect, how do I download updates? (I guess its fine if I cannot connect.. but not knowing why its not working is kinda bothering me)
if this diagram is correct:
Quote:
# IP Address Description
0 W.X.Y.Z ISP provided via PPPoE
1 192.168.m.1 modem's LAN - gateway & DHCP server
2 192.168.m.q modem provided via DHCP
3 192.168.1.1 Firewall's LAN - gateway, DHCP server off
4 192.168.1.s static IP for Firewall's LAN
5 192.168.0.1 WiFi gateway & DHCP server
6 192.168.n.1 wired gateway & DHCP server
The the problem could be that I have 2 IP addresses that are 192.168.1.1 (see below)
# IP Address Description
0 W.X.Y.Z ISP provided via PPPoE
1 192.168.m.1 modem's LAN - gateway & DHCP server
2 192.168.1.64 modem provided via DHCP
3 192.168.1.1 Firewall's LAN - gateway, DHCP server off
4 192.168.1.254 static IP for Firewall's LAN
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.