/srv/irclogs.ubuntu.com/2017/12/31/#ubuntu-server.txt

apb196316.04 Is it possible to setup a dhcpd server with 1 ethernet card, or must I have 2?19:19
apb1963I'm running into this error: No subnet declaration for enp5s0 (external IP redacted) and I can't help but wonder if it's because I don't have two ethernet cards.19:23
apb1963Or if perhaps this error " Not configured to listen on any interfaces!" is more relevant even though it comes after the above.  The odd thing is, I do in fact setup the Listen device in /etc/default/isc-dhcp-server19:27
apb1963Yeah... I'm starting to think it's because I only have the one card... so the external address is not on the same network, so it has no device to use on the local net.19:29
apb1963Which is of course the network I need to allocate IPs on.19:30
apb1963Maybe I can get the one card to respond to both internal and external addresses?19:31
apb1963I'm sure there's a way to do that.  OK, thanks!19:31
_KaszpiR_apb1963 sure you can have dhcp with 1 card19:36
_KaszpiR_and it looks liek you're missing config section for the subnet19:36
_KaszpiR_you may also vlans to separate public and private network19:37
_KaszpiR_*also use vlans19:38
_KaszpiR_but it may require additional network configuration on the switch level and so on19:38
apb1963_KaszpiR_, That's just it... I'm not missing a config section for the 192.168.1 network.  But the card is an external IP.  My router died and I figured I'd just setup the software to replace it.20:20
apb1963i'm not all that familiar with vlans and I suspect it's overkill for my  home network.20:21
apb1963So, it wants a config section for the IP associated with the card - an external address.  From the network's point of view, that same machine is NOT on the 192.168.1 network.20:23
apb1963Which I suspect is why it's giving me the errors.20:23
apb1963Because there is no interface associated with that subnet.20:24
apb1963And so, I'm guessing I need to use a virtual IP for the internal address.20:24
apb1963But then it occurred to me that I have a wireless card installed.  And that's where I'm at now... looking at how to set the wireless card for the internal subnet.20:25
apb1963Oh... I was looking at how to setup virtual IPs... it requires disabling network manager, or modifying one of its file after first messing with the GUI - I need a pure cli solution.20:26
apb1963Which is why I'm leaning towards two cards.20:27
_KaszpiR_apb1963 better get second card20:28
_KaszpiR_especially if you do not have a router20:29
_KaszpiR_nor manageable switch20:29
apb1963no router, no switch... well there's a router from my ISP but it's a black box.20:34
apb1963_KaszpiR_, by second card, you mean a second ethernet card or is the wireless card sufficient?20:34
_KaszpiR_I'd sujggest second ethernet card20:35
_KaszpiR_unless all the other devices are wireless only20:35
apb1963Yes, except one is both wired & wireless...  Once I bring it up, it will be swapping roles with this machine.20:36
apb1963I'm unclear as to why it's an issue.  They protocol should really be relevant as long as they can talk to each other.  By protocol I mean tcp/ip.20:37
apb1963sorry, that last sentence was confused.20:38
apb1963I'm unclear as to why it's an issue.  As long as they both speak the same protocol (tcp/ip) then whether wired or wireless I wouldn't expect to make a difference.  Or am I wrong?20:39
=== xMopxShell is now known as xMopx

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!