Hi Everyone,
I'm using FreeBSD version 8.1. I just installed a new internet modem given to me by my isp. They changed the internal ip address from 192.168.1.* to 192.168.2.* . I did get a new ip from the dhcp server by using the following command:
I did restart the routing by using the following command:
Then I added the following to the file /etc/rc.conf:
But when I try to ping the servers that need to be backed up I'm getting this message:
When I look up the routing statistics I find the following. I've the feeling the line which starts with 192.168.1.0/24 is the reason for my problems. Does anyone has an idea what I could do to fix the routing again?
netstat -rn
The problem only exists on this server. The other computer are able to find the routes to the servers that need to be backed up.
Thank you for any help!
I'm using FreeBSD version 8.1. I just installed a new internet modem given to me by my isp. They changed the internal ip address from 192.168.1.* to 192.168.2.* . I did get a new ip from the dhcp server by using the following command:
dhclient em0
I did restart the routing by using the following command:
/etc/rc.d/routing restart
Then I added the following to the file /etc/rc.conf:
Code:
defaultrouter="192.168.2.254"
But when I try to ping the servers that need to be backed up I'm getting this message:
Code:
ping: sendto: No route to host
When I look up the routing statistics I find the following. I've the feeling the line which starts with 192.168.1.0/24 is the reason for my problems. Does anyone has an idea what I could do to fix the routing again?
netstat -rn
Code:
Internet:
Destination Gateway Flags Refs Use Netif Expire
127.0.0.1 link#3 UH 0 4 lo0
192.168.1.0/24 link#1 U 0 83516320 em0
192.168.2.0/24 link#1 U 3 1112 em0
192.168.2.2 link#1 UHS 0 0 lo0
Internet6:
Destination Gateway Flags Netif Expire
::1 ::1 UH lo0
fe80::%lo0/64 link#3 U lo0
fe80::1%lo0 link#3 UHS lo0
ff01:3::/32 fe80::1%lo0 U lo0
ff02::%lo0/32 fe80::1%lo0 U lo0
The problem only exists on this server. The other computer are able to find the routes to the servers that need to be backed up.
Thank you for any help!