Re: Problems connecting to the internet

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On November 24, 2003 11:15 pm, Együd Csaba wrote:
> Hi Guys,
> Thx for trying help.
>
> Some results from the box:
> ---------------------------------------------------------------------------
>- ----
> [root@info /root]# /etc/init.d/adsl start
> Bringing up ADSL link. Connected!
>                                                            [  OK  ]
> [root@info /root]# netstat -rn
> Kernel IP routing table
> Destination     Gateway         Genmask         Flags   MSS Window  irtt
> Iface
> 213.163.27.13   0.0.0.0         255.255.255.255 UH       40 0          0
> ppp0
> 10.10.10.0      0.0.0.0         255.255.255.0   U        40 0          0
> eth0
> 127.0.0.0       0.0.0.0         255.0.0.0       U        40 0          0 lo
> 0.0.0.0         10.10.10.254    0.0.0.0         UG       40 0          0
> eth0
>
> [root@info /root]# ifconfig
> eth0      Link encap:Ethernet  HWaddr 00:0A:CD:02:4A:D7
>           inet addr:10.10.10.33  Bcast:10.10.10.255  Mask:255.255.255.0
>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>           RX packets:230 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:252 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:100
>           Interrupt:5 Base address:0xc000
>
> lo        Link encap:Local Loopback
>           inet addr:127.0.0.1  Mask:255.0.0.0
>           UP LOOPBACK RUNNING  MTU:16436  Metric:1
>           RX packets:11 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:11 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:0
>
> ppp0      Link encap:Point-to-Point Protocol
>           inet addr:62.77.207.105  P-t-P:213.163.27.13 
> Mask:255.255.255.255 UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1492 
> Metric:1 RX packets:8 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:3 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:3
> ---------------------------------------------------------------------------
>- ----
> To tell the truth I wanted to be very clever :) and as my ISP has only one
> DNS I alterd resolv.conf to have to identical lines. Sholud I change it
> back? Originally it contained in the 2nd line : nameserver 213.163.59.1
> Being a strange value I midified it to an existing one. Was it a mistake?
>
> I connect to the same ISP from my WinXP machine and I encountered that the
> given IP address is substantially differes from hat one. IPCONFIG On WinXP:
> ----------------------------------------------------------------
> PPP adapter vnet:
>
>         Connection-specific DNS Suffix  . :
>         IP Address. . . . . . . . . . . . : 213.163.52.4
>         Subnet Mask . . . . . . . . . . . : 255.255.255.255
>         Default Gateway . . . . . . . . . : 213.163.52.4
> ----------------------------------------------------------------
> Does it indicate a problem or not?
>
> By,
> -- Csaba
>

<..snip..>
This is getting long. I have not worked with ptp-0-e, but It looks like your 
routing is wrong. It has a default gateway of 10.10.10.254, it should be 
213.163.27.13

Try:
route del default
route add default gw 213.163.27.13 dev ppp0

you may also need to add 
route add -net 213.163.27.0 netmask 255.255.255.255 dev ppp0


I would put the other nameserver back in. there is nothing wrong with that 
entry. You can have 3 (or 4?) entries.
-- 
Pete Nesbitt, rhce


-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux