Click to See Complete Forum and Search --> : ppp doesn't assign correct IP
dale10
11-01-2001, 06:30 PM
I recently have changed ISPs and when I dail up (ppp) I am not assigned the correct IP address. Insetad, I am assigned the IP address of my ethernet card in my internal network. I did not have this problem before with my old isp. How do I fix this?
Have you made any changes to your configuration? Make sure your dialer is using the correct modem device. Try connecting, running 'ifconfig' as root and then post the output here. It will help others who are trying to help you.
dale10
11-02-2001, 03:05 AM
here's what ifconfig outputed
ppp0 Link encap:Point-to-Point Protocol
inet addr:192.168.1.100 P-t-P:66.19.96.7 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1
RX packets:6 errors:0 dropped:0 overruns:0 frame:0
TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
192.168.1.100 is the static ip address i gave my ethernet card for my internal network. When I use other isps I get assigned an IP address from them, however this one gives me my own. I have made no changes to my system.
dale10
11-02-2001, 06:12 PM
bump.
anybody?
What dialer are you using?
Toi Mak
11-03-2001, 12:47 PM
It sounds like you have the default route set to eth0 rather than ppp0. Do: /sbin/route to check.
If the default shows eth0 do: route del default and that should fix it.
Also check to sure you have your ISP's DNS servers in /etc/resolv.conf
dale10
11-05-2001, 02:39 AM
here's what resolve shows:
Destination Gateway Genmask Flags Metric Ref Use Iface
66.19.96.11 * 255.255.255.255 UH 0 0 0 ppp0
192.168.1.0 * 255.255.255.0 U 0 0 0 eth0
127.0.0.0 * 255.0.0.0 U 0 0 0 lo
default 66.19.96.11 0.0.0.0 UG 0 0 0 ppp0
I believe 66.19.96.11 was supposed to be assigned to me, but it isn't. I've tried my old school's dailup and it works fine but I don't want to use it because it's long distance. The DNS configuration in resolv.conf is fine. I'm using the dailup program in redhat rpc or whatever it's called. I've tried minicom, but after I quit without reseting and start up pppd -d i loose the connection anyway.
dale10
11-06-2001, 01:53 PM
is there a way I can just manually change my ip address on the fly?