|
OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below. |
|
Thread Tools | Display Modes |
|
|
|||
Post the output of the following commands:
|
|
||||
My BSD router has been working beautifully since I put it into service about 6 weeks ago. The only thing that has changed is my cable modem today.
Here is my ifconfig output with the WAN IP (xl1) masked. Code:
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 33200 priority: 0 groups: lo inet 127.0.0.1 netmask 0xff000000 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4 xl0: flags=8a43<UP,BROADCAST,RUNNING,ALLMULTI,SIMPLEX,MULTICAST> mtu 1500 lladdr 00:10:4b:2c:a7:3c priority: 0 groups: egress media: Ethernet autoselect (100baseTX full-duplex) status: active inet6 fe80::210:4bff:fe2c:a73c%xl0 prefixlen 64 scopeid 0x1 inet 192.168.0.1 netmask 0xffffff00 broadcast 192.168.0.255 xl1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 lladdr 00:01:03:2b:e1:84 priority: 0 media: Ethernet autoselect (100baseTX full-duplex) status: active inet6 fe80::201:3ee:fe3b:f184%xl1 prefixlen 64 scopeid 0x2 inet 24.X.X.X netmask 0xfffffc00 broadcast 24.X.X.X enc0: flags=0<> priority: 0 groups: enc status: active pflog0: flags=141<UP,RUNNING,PROMISC> mtu 33200 priority: 0 groups: pflog Code:
net.inet.ip.forwarding=1 |
|
||||
From http://www.openbsd.org/faq/pf/filter.html:
Quote:
What does "netstat -rnf inet" show?
__________________
Linux/Network-Security Engineer by Profession. OpenBSD user by choice. |
|
||||
I've attached a text file too using fixed width font in case this is too messed up to read.
Code:
# netstat -rnf inet Routing tables Internet: Destination Gateway Flags Refs Use Mtu Prio Iface default 192.168.0.1 UGS 0 7986 - 8 xl0 24.X.X/XX link#2 UC 1 0 - 4 xl1 24.X.X.X 00:01:5c:22:06:42 UHLc 0 0 - 4 xl1 24.X.X.X 127.0.0.1 UGHS 0 20 33200 8 lo0 127/8 127.0.0.1 UGRS 0 0 33200 8 lo0 127.0.0.1 127.0.0.1 UH 5 3466 33200 4 lo0 192.168.0/24 link#1 UC 5 0 - 4 xl0 192.168.0.1 00:10:4b:2c:a7:3c UHLc 1 0 - 4 lo0 192.168.0.2 127.0.0.1 UGHS 0 4089 33200 8 lo0 192.168.0.21 00:0a:cd:1b:df:2e UHLc 0 0 - 4 xl0 192.168.0.50 6c:62:6d:83:9b:65 UHLc 0 0 - 4 xl0 224/4 127.0.0.1 URS 0 0 33200 8 lo0 Last edited by ocicat; 5th August 2011 at 12:07 AM. Reason: Please use [code] & [/code] tags for output |
|
|||
192.168.0.1 is the local IP for your xl0 interface.. and you have it as your default gateway, which is obviously not what you want.
Remove your /etc/mygate file and reboot the system. |
|
||||
Geeze, all I had to do was reboot my router and everything came back online. I didn't think that would be necessary simply by changing the cable modem.
I don't have a /etc/mygate file. The reason my gateway was showing as 192.168.0.1 was because I connected my WAN NIC to my LAN switch to make sure it was grabbing an IP from DHCP, which it did. When I connected it back to my cable modem it grabbed the WAN IP from my ISP but for some reason kept the gateway IP of my LAN NIC which is 192.168.0.1 rather than updating to my ISP's gateway. 192.168.0.1 is the IP of the LAN NIC in my BSD router which is also my DHCP server and obviously the gateway for my LAN. Once again, thank you everyone for your help. Even though the solution was extremely simple I actually got to learn something through the troubleshooting process. THANK YOU! |
|
|||
Quote:
My experience has been that Motorola SB5100 cable modems cache the MAC address of whatever device is first found when booting up. Any device later substituted is simply never seen. So if I change attached devices, I have to cycle the modem as well. |
|
||||
I never experienced that problem. The modem was actually a SB5101, now it's a SBG6580 with all the gateway features disabled. The problem I was having is that it was constantly going off line starting two weeks ago Saturday. It would go offline anywhere from a few minutes to several hours. I know they are upgrading the system to add phone service but according to the cable tech here today that work is done and should have only caused disruptions for a few days late at night two weeks ago. I've had problems several times a day everyday for almost two weeks now. All I want is for it to be working flawlessly by Saturday night so when I buy the UFC PPV I'm not spending more time troubleshooting and resetting network gear than I am watching the fights. I'd hate to have to put a triangle choke on my cable modem.
I need to follow my own advice I give to customers. They call with a strange problem and the first thing I tell them to do is reboot. Nine times out of ten that solves the problem, yet rebooting is always the last resort for me, go figure. |
|
|||
Quote:
|
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Multiple serial consoles via null modem cable or serial console server | J65nko | General Hardware | 0 | 16th January 2010 12:01 AM |
best ADSL+2 modem and wirless-N router (all in one)? | zorelina | General Hardware | 1 | 28th October 2009 12:43 AM |
Cable modem + router + FreeBSD | Beastie | FreeBSD General | 2 | 24th June 2009 07:58 AM |
Problem with PORTSNAP and my router | cedcot | FreeBSD Ports and Packages | 2 | 22nd April 2009 11:32 AM |
Cable modem question | whispersGhost | FreeBSD General | 2 | 24th May 2008 08:11 PM |