Results 1 to 1 of 1
Thread: Routing problems
Enjoy an ad free experience by logging in. Not a member yet? Register.
The first thing that happened that was unexpected, was that I was unable to even connected directly to my cable modem. It grabbed an IP address, though not the regular external IP address I'm assigned, so I assumed it was a gateway and was correct as I grabbed it through DHCP. The only problem is that I was never able to get an internet connection through it, whenever I pinged anything it would just say destination unreachable. I noticed that my routing tables had changed to accommodate the new address as well.
So, I never could get a two-interface system in shorewall configured correctly, and reverted back to a one-interface style while using my dlink router and just DMZ'ing to the box shorewall was installed on. The problem after this, was that my routing table was significantly different than it was before I introduced the IP that was grabbed from my ISP's cable modem, and it's been quite a bit of trial and error getting it back in a working condition.
The behavior of shorewall seems to have completely changed as well. My /etc/shorewall/rules file seems to have absolutely no effect at all, and the only way that I could renable an internet connection was by putting 'all all ACCEPT' in my /etc/shorewall/policy file. I've since uninstalled shorewall because this behavior has not changed. I'm wondering if this is because of the screwed up routing table.
This is a current state of my routing table, and everything seems to be working properly, but I really doubt this routing table is completely correct.
Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 192.168.2.0 * 255.255.255.0 U 0 0 0 eth1 link-local * 255.255.0.0 U 1000 0 0 eth1 default 192.168.2.1 0.0.0.0 UG 0 0 0 eth1
192.168.2.0/24 dev eth1 proto kernel scope link src 192.168.2.6 169.254.0.0/16 dev eth1 scope link metric 1000 default via 192.168.2.1 dev eth1
In any case, I'm mostly just concerned with whether or not my routing table is correct, but if anyone could shed some light on what I might have done wrong getting connected directly to my cable modem and trying to use shorewall for routing I would love some advice.