Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.


xpd



Chief Trash Bandit
10035 posts

Uber Geek

Mod Emeritus
Trusted
Lifetime subscriber

# 245598 12-Feb-2019 12:06
Send private message

What am I doing wrong.......

 

I install Debian 9, and all is well...... then I set the IP to static and all networking comes to a grinding halt. Cant ping etc.

 

 

So the settings I want :  IP 192.168.1.215    Mask 255.255.255.0   GW  192.168.1.1

 

What have I missed/done wrong ? :)

 

Ive followed multiple guides and all give the same result.......

 

TIA

 

 





XPD / Gavin / DemiseNZ

 

Server : i5-3470s @ 3.50GHz  16GB RAM  Win 10 Pro    Workstation : i5-3570K @ 3.40GHz  20GB RAM  RX580 4GB Win 10 Pro    Console : Xbox One

 

https://www.xpd.co.nz - Games, emulation, geekery, and my attempts at photography.     Now on BigPipe 100/100 and 2Talk

 

Emulation - The art of getting your $4000 PC to run an 80's system - and still fails.

 

Add me on Steam


Create new topic
198 posts

Master Geek


  # 2177112 12-Feb-2019 12:16
Send private message

Did you rename ens33 to eth0?


2132 posts

Uber Geek

Trusted

  # 2177113 12-Feb-2019 12:16
Send private message

What does ip neigh show you (arp entries)

 

Do you have an arp 192.168.1.1?


 
 
 
 


xpd



Chief Trash Bandit
10035 posts

Uber Geek

Mod Emeritus
Trusted
Lifetime subscriber

  # 2177118 12-Feb-2019 12:34
Send private message

All I did was modify the interface to static and added the address/net/gw details. (As per every site I found)

 

 

 

 

IP neigh gives me :

 





XPD / Gavin / DemiseNZ

 

Server : i5-3470s @ 3.50GHz  16GB RAM  Win 10 Pro    Workstation : i5-3570K @ 3.40GHz  20GB RAM  RX580 4GB Win 10 Pro    Console : Xbox One

 

https://www.xpd.co.nz - Games, emulation, geekery, and my attempts at photography.     Now on BigPipe 100/100 and 2Talk

 

Emulation - The art of getting your $4000 PC to run an 80's system - and still fails.

 

Add me on Steam


xpd



Chief Trash Bandit
10035 posts

Uber Geek

Mod Emeritus
Trusted
Lifetime subscriber

  # 2177119 12-Feb-2019 12:35
Send private message

Dont think it matters, but the Debian install is on a HyperV session.

 

 





XPD / Gavin / DemiseNZ

 

Server : i5-3470s @ 3.50GHz  16GB RAM  Win 10 Pro    Workstation : i5-3570K @ 3.40GHz  20GB RAM  RX580 4GB Win 10 Pro    Console : Xbox One

 

https://www.xpd.co.nz - Games, emulation, geekery, and my attempts at photography.     Now on BigPipe 100/100 and 2Talk

 

Emulation - The art of getting your $4000 PC to run an 80's system - and still fails.

 

Add me on Steam


2132 posts

Uber Geek

Trusted

  # 2177120 12-Feb-2019 12:36
Send private message

Do you have some sort of funky iptables rules?  Because that looks like you should be able to ping your default GW just fine.  No layer2 issue anyway, you have an ARP for it (assuming that MAC address is the correct MAC of your router)

 

What happens if you flush all the tables (iptables -F)


xpd



Chief Trash Bandit
10035 posts

Uber Geek

Mod Emeritus
Trusted
Lifetime subscriber

  # 2177128 12-Feb-2019 13:00
Send private message

No change........   I'll set it back to Dynamic config and do some more poking from that..... but yeah, everything is showing as being fine which is whats puzzled me. I know Im no Linux guru and my networking skills are so so but even so... :)

 

 





XPD / Gavin / DemiseNZ

 

Server : i5-3470s @ 3.50GHz  16GB RAM  Win 10 Pro    Workstation : i5-3570K @ 3.40GHz  20GB RAM  RX580 4GB Win 10 Pro    Console : Xbox One

 

https://www.xpd.co.nz - Games, emulation, geekery, and my attempts at photography.     Now on BigPipe 100/100 and 2Talk

 

Emulation - The art of getting your $4000 PC to run an 80's system - and still fails.

 

Add me on Steam


xpd



Chief Trash Bandit
10035 posts

Uber Geek

Mod Emeritus
Trusted
Lifetime subscriber

  # 2177130 12-Feb-2019 13:05
Send private message

Something weird going on....... changed it back, and still no network. Yet after the initial install, I had network. 

 

Might try another distro.

 

 





XPD / Gavin / DemiseNZ

 

Server : i5-3470s @ 3.50GHz  16GB RAM  Win 10 Pro    Workstation : i5-3570K @ 3.40GHz  20GB RAM  RX580 4GB Win 10 Pro    Console : Xbox One

 

https://www.xpd.co.nz - Games, emulation, geekery, and my attempts at photography.     Now on BigPipe 100/100 and 2Talk

 

Emulation - The art of getting your $4000 PC to run an 80's system - and still fails.

 

Add me on Steam


 
 
 
 


Go Hawks!
945 posts

Ultimate Geek

Trusted
Subscriber

  # 2177369 12-Feb-2019 21:33
Send private message

Does ‘dmesg’ give any clues?

I’m suspicious that it might be something systemd related ... (that is just me though ... :-))

481 posts

Ultimate Geek


  # 2177399 12-Feb-2019 22:58
One person supports this post
Send private message

So what traffic does tcpdump/tshark/wireshark capture?  At that PC and at the router, if possible.  Do the ping requests actually leave the Debian system?  Does the router see them?  Does it send replies?  Does the Debian system see the reply packets at all?


635 posts

Ultimate Geek


  # 2177404 12-Feb-2019 23:06
Send private message

xpd:

 

All I did was modify the interface to static and added the address/net/gw details. (As per every site I found)

 

 

 

Interesting, here is the one that I was using on Debian 8 with static ip:

 

$ cat /etc/network/interfaces
# interfaces(5) file used by ifup(8) and ifdown(8)

 

# The loopback network interface
auto lo
iface lo inet loopback

 

# The primary network interface
allow-hotplug eth0
iface eth0 inet static
address 192.168.1.22
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.1.255
gateway 192.168.1.1

 

# Include files from /etc/network/interfaces.d:
source /etc/network/interfaces.d/*.cfg

 

 

 

Now I've switched to a bridge interface with Debian 9 (mostly because it gave more flexibility for things like running VMs under KVM), something like this:

 

$ cat /etc/network/interfaces
# interfaces(5) file used by ifup(8) and ifdown(8)

 

# The loopback network interface
auto lo
iface lo inet loopback

 

# The primary network interface
allow-hotplug eth0
iface eth0 inet manual

 

auto br0
iface br0 inet static
address 192.168.1.22
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.1.255
gateway 192.168.1.1
bridge_ports eth0
bridge_stp off
bridge_fd 0
bridge_maxwait 0

 

# Include files from /etc/network/interfaces.d:
source /etc/network/interfaces.d/*.cfg

 

 

 

Perhaps your config is fine and perhaps I didn't need 'network' and 'broadcast' in mine as I've seen a lot of examples with just 'address', 'netmask' and 'gateway', but it is one thing you could try (although I expect your problems are elsewhere).

 

Do you have any possibility of setting up static addresses in your DHCP server?

 

Then you can just configure your hosts as DHCP and do all your configuration in the DHCP server.





#include <standard.disclaimer>


635 posts

Ultimate Geek


  # 2177406 12-Feb-2019 23:40
Send private message

xpd:

 

Dont think it matters, but the Debian install is on a HyperV session.

 

I'm not familiar with HyperV, but if your Debian is a VM guest under VMware and others, you have to set the networking to Bridged (in the VMware or KVM in my case). There are some other options that will not work for static ip addresses in the VM Guest.

 

Like I said, I'm not familiar with HyperV, but I expect there is a setting somewhere. Some virtualisation software will have the default setting set to the one that won't use any more ip addresses in the host subnet (might be a NAT option). This appears to be the "keep the LAN administrator happy" default, but it won't work for static ip addresses in the guest.





#include <standard.disclaimer>


Create new topic



Twitter and LinkedIn »



Follow us to receive Twitter updates when new discussions are posted in our forums:



Follow us to receive Twitter updates when news items and blogs are posted in our frontpage:



Follow us to receive Twitter updates when tech item prices are listed in our price comparison site:





News »

Microsoft New Zealand Partner Awards results
Posted 18-Oct-2019 10:18


Logitech introduces new Made for Google keyboard and mouse devices
Posted 16-Oct-2019 13:36


MATTR launches to accelerate decentralised identity
Posted 16-Oct-2019 10:28


Vodafone X-Squad powers up for customers
Posted 16-Oct-2019 08:15


D Link ANZ launches EXO Smart Mesh Wi Fi Routers with McAfee protection
Posted 15-Oct-2019 11:31


Major Japanese retailer partners with smart New Zealand technology IMAGR
Posted 14-Oct-2019 10:29


Ola pioneers one-time passcode feature to fight rideshare fraud
Posted 14-Oct-2019 10:24


Spark Sport new home of NZC matches from 2020
Posted 10-Oct-2019 09:59


Meet Nola, Noel Leeming's new digital employee
Posted 4-Oct-2019 08:07


Registrations for Sprout Accelerator open for 2020 season
Posted 4-Oct-2019 08:02


Teletrac Navman welcomes AI tech leader Jens Meggers as new President
Posted 4-Oct-2019 07:41


Vodafone makes voice of 4G (VoLTE) official
Posted 4-Oct-2019 07:36


2degrees Reaches Milestone of 100,000 Broadband Customers
Posted 1-Oct-2019 09:17


Nokia 1 Plus available in New Zealand from 2nd October
Posted 30-Sep-2019 17:46


Ola integrates Apple Pay as payment method in New Zealand
Posted 25-Sep-2019 09:51



Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.


Support Geekzone »

Our community of supporters help make Geekzone possible. Click the button below to join them.

Support Geezone on PressPatron



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.

Alternatively, you can receive a daily email with Geekzone updates.