Skip to main content

All Questions

Tagged with
2 votes
1 answer
295 views

Laptop accessible on the same IP via wireless and wired connection?

I have laptop which I sometimes connect to my LAN via wireless or wired connection (addresses are assigned via DHCP from the same subnet). I wonder how to setup common IP address on Ubuntu 20.04 to be ...
my-admin-wont-help-me's user avatar
27 votes
3 answers
53k views

Wrong IP address from DHCP client on Ubuntu 18.04

I'm experiencing a weird issue where my Ubuntu 18.04 (server) box gets issued a wrong IP address during boot from the DHCP server. Running dhclient after boot on the interface results in the right IP ...
NoMad's user avatar
  • 782
0 votes
0 answers
68 views

How can I configure my computer (localhost) to assign dynamic IP addresses to virtual machines made by virtual box?

How can I configure my computer (localhost) to assign dynamic IP addresses to virtual machines made by virtual box? Note: I am using Ubuntu Desktop LTS 16.
NSD's user avatar
  • 109
2 votes
1 answer
860 views

Is it possible to use DHCP to obtain default gateway and DNS server only?

I have a few VMs which I want to keep with static IP addresses. However, I run those on my laptop and frequently connect to different networks which use different default gateway and different DNS ...
Edy Bourne's user avatar
0 votes
1 answer
149 views

Log IP address obtained by DHCP Server-Ubuntu Desktop

Would there be a way I could write a script that records the dhcp IP's that the computer running Ubuntu obtains everytime it obtains a new IP?
Benjamin Jones's user avatar
1 vote
0 answers
281 views

Is there a way to tell the difference between a direct connection and network connection

I want to configure a linux(ubuntu) machine such that when a direct connection is made with another PC my machine will enable a DHCP server and serve it an IP address, but if my machine is connected ...
richmb's user avatar
  • 143
3 votes
1 answer
2k views

Switch between DHCP and static IP

My laptop needs to use DHCP at home and a static IP at work. As far as I can tell, there's no way to flip between one and the other quickly - I'll have to manually configure the network connection ...
l0b0's user avatar
  • 7,363