Mailinglist Archive: opensuse (783 mails)

< Previous Next >
Re: [opensuse] No network of leap 42.3
On 09/10/17 03:49 PM, Dave Smith wrote:
[Big Skip]
I use 192.168.133.2 for the nas and 192.168.133.8
for the printer. I used 192.168.133.3 for the 42.3 machine and set
the default gateway and nameserver to 192.168.133.1. Yast was used
for all of the configurations I have done thus far.

Two items:

I don't like using Yast when things go wrong; it is just as good at hiding
what's really going on as the Windows GUI.

in sutuations like this you need the CLI; you need to be able see what changes
are actually made, you need to watch for exit codes; you need to verify.

"trust but Verify".

Which gets to point 2
For example, when you manually set the ip address with something like

ifconfig eth0 192.168.133.3
do an immediate
ifconfig -a
to verify that the address is set *and* that it is "UP"

Yes, I know, I'm paranoid, but SOMETHING IS WRONG


Next, verify that the route has been set:
route -vn
You should have a line that reads something like

192.168.133.0 0.0.0.0 255.255.255.0 U 100 0 0 eth0

That means your ethernet device is on the 192.168.133 LAN and will send packets
out there.

There should also be a route out to the router.
You may have to set this manually for a staticcally assigned address to work if
its not there. See the man page for details

You route out should look like

Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 192.168.2.1 0.0.0.0 UG 100 0 0 eth0

The "0.0.0.0" means 'everything' that's not the LAN
The important bit is the "G" in the flags that says this is the gateway.


You might want to try comparing 'ifconfig -a' and 'route -vn' for each of the
static and the DHCP approaches. **--> And report same here. <--**

You might want to do the same between 42.3 and knoppix.

Knoppix, naturally, doesn't have Yast :-)


Sorry if this is basics, but you never did mention your routing tables.

--
A: Yes.
> Q: Are you sure?
>> A: Because it reverses the logical flow of conversation.
>>> Q: Why is top posting frowned upon?


--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse+owner@xxxxxxxxxxxx

< Previous Next >