Mailinglist Archive: opensuse (3729 mails)
| < Previous | Next > |
Re: [SLE] connect: Network is Unreachable
- From: "Robt. Lount" <rlount@xxxxxxxxxxx>
- Date: Sun, 29 Jun 2003 19:52:06 -0700
- Message-id: <200306291952.06962.rlount@xxxxxxxxxxx>
Hi.
Have you tried route?
route add default gw 192.168.0.1
(will set 192.168.0.1 as default)
Then,
ifconfig eth0 192.168.0.8 netmask 255.255.255.0
ifconfig eth0
<<dhcppc2:/home/robt # ifconfig eth0
eth0 Link encap:Ethernet HWaddr 00:00:C5:C2:30:5D
inet addr:192.168.0.3 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::200:c5ff:fec2:305d/10 Scope:Link
UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:1500 Metric:1
RX packets:102734 errors:0 dropped:0 overruns:0 frame:0
TX packets:89759 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:93616028 (89.2 Mb) TX bytes:8669387 (8.2 Mb)
Interrupt:11 Base address:0x5f00>>
These are my numbers, but you said you weren't getting IPv4 inet addr and
maybe there is something else wrong.
I hope I wasn't to redundant and newbielike. Also are you using a router? I
took it for granted you were. Maybe DHCP is giving you another addr. than the
192.168.0.8 and thats messing with things. Pinging your localhost is a good
place to start. DHCP shouldn't be defaulting to IPv6 ...yet. SuSE installs
both 4 and 6 so we can all be ready:-)
Good luck!
On Sunday 29 June 2003 17:59, Robin Rowe wrote:
> Hi. I'm familiar with Linux, but this is my first install of SuSE.
> Everything went fine except I can't ping my LAN.
>
> I used the Yast GUI to set up the network DNS host IP and default gateway
> as 192.168.0.1. If I take the net down and bring it up again with 'ifup
> eth0' it says it got address 192.168.0.8 / 255.255.255.0. That looks ok.
> However, I can't ping myself at that address. Can't ping the gateway
> either. Using 'ifconfig' reports eth0 running in ipv6. Doesn't report
> anything about 192.168.0.8 at eth0, rather some long inet6 address. I
> haven't tried ipv6 before. SuSE installed that for me without asking.
>
> On a DHCP ipv4 LAN should I run ipv6, and how would I get rid of it?
>
> What now?
>
> Thanks!
>
> Robin
> ---------------------------------------------------------------------------
> Robin.Rowe@xxxxxxxxxxxxxxx Hollywood, California
> www.CinePaint.org Free motion picture and still image editing software
Have you tried route?
route add default gw 192.168.0.1
(will set 192.168.0.1 as default)
Then,
ifconfig eth0 192.168.0.8 netmask 255.255.255.0
ifconfig eth0
<<dhcppc2:/home/robt # ifconfig eth0
eth0 Link encap:Ethernet HWaddr 00:00:C5:C2:30:5D
inet addr:192.168.0.3 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::200:c5ff:fec2:305d/10 Scope:Link
UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:1500 Metric:1
RX packets:102734 errors:0 dropped:0 overruns:0 frame:0
TX packets:89759 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:93616028 (89.2 Mb) TX bytes:8669387 (8.2 Mb)
Interrupt:11 Base address:0x5f00>>
These are my numbers, but you said you weren't getting IPv4 inet addr and
maybe there is something else wrong.
I hope I wasn't to redundant and newbielike. Also are you using a router? I
took it for granted you were. Maybe DHCP is giving you another addr. than the
192.168.0.8 and thats messing with things. Pinging your localhost is a good
place to start. DHCP shouldn't be defaulting to IPv6 ...yet. SuSE installs
both 4 and 6 so we can all be ready:-)
Good luck!
On Sunday 29 June 2003 17:59, Robin Rowe wrote:
> Hi. I'm familiar with Linux, but this is my first install of SuSE.
> Everything went fine except I can't ping my LAN.
>
> I used the Yast GUI to set up the network DNS host IP and default gateway
> as 192.168.0.1. If I take the net down and bring it up again with 'ifup
> eth0' it says it got address 192.168.0.8 / 255.255.255.0. That looks ok.
> However, I can't ping myself at that address. Can't ping the gateway
> either. Using 'ifconfig' reports eth0 running in ipv6. Doesn't report
> anything about 192.168.0.8 at eth0, rather some long inet6 address. I
> haven't tried ipv6 before. SuSE installed that for me without asking.
>
> On a DHCP ipv4 LAN should I run ipv6, and how would I get rid of it?
>
> What now?
>
> Thanks!
>
> Robin
> ---------------------------------------------------------------------------
> Robin.Rowe@xxxxxxxxxxxxxxx Hollywood, California
> www.CinePaint.org Free motion picture and still image editing software
| < Previous | Next > |