Hello, you get a address from 172.18.234.0/24 on eno1np0. What is the nameserver you get via DHCP without edit /etc/resolv.conf ? Is the nameserver in your network 172.18.234.0/24 ? If not is there route to that network? ("ip r") What is your gateway? ("ip r" the line with default ...) Can you reach the gateway? Does it work without DNS? ping 8.8.8.8 for example? Last but not leased is dns in the host line of /etc/nsswitch.conf like hosts: files dns Am 23.10.26 um 19:59 schrieb fc26…@studserv.uni-leipzig.de:
> hello, > I meant that it was a NAT Server before, like in network address translation for VM lying under it. > I am not sure, what they are connected to - internet to the "outside world" worked previously, but I did not set that up, and the server does not exists anymore. > > ip addr show shows: > > 1: lo: <LOOPBACK, UP, LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 >    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 >    inet 127.0.0.1/8 scope host lo >       valid_lft forever preferred_lft forever >    inet6 ::1/128 scope host noprefixroute >       valid_lft forever preferred_lft forever > 2: eno1np0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000 >    link/ether 3d:bc:ef:44:14:42 brd ff:ff:ff:ff:ff:ff > 3: eno2np1 <BROADCAST, MULTICAST, UP, LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000 >    link/ether 3d:bc:ef:44:14:40 brd ff:ff:ff:ff:ff:ff >    inet 172.18.234.50 brd 172.18.234.255 scope global eno1np1 >       valid_lft forever preferred_lft forever >    inet6 `someaddress its blue on black and its kinda dark, so that i can't type it` >       valid_lft forever preferred_lft forever > > When I do dhcpcd on the networks, the addresses become the address from link-local 1 > 65.254.0.0/16. > > I can't ping my nameserver, nor can I ping googles nameserver. > It says Destination Host unreachable. > > dhclient isnt installed on the Debian CD. Does it make a difference when I download the Debian DVD? > > The 123 IP Addresses were made up. > > Best, > Lucienne > > But I tried edited /etc/resolv.conf manually and adding the nameserver. > Zitat von tom…@tuxteam.de: >
>> On Fri, Oct 23, 2026 at 05:16:26PM +0200, fc26…@studserv.uni- leipzig.de wrote:
>>> Hello,
>> >> hello >>
>>> I "inherited" a nat server which wouldnt boot.
>> >> Actually not that relevant, see below, but you mean a NAS >> server (NAS == "network attached storage")? >>
>>> I installed a fresh debian on it, but I can't figure out to set up an >>> ethernet connection.
>> >> The above question not that relevant, because it now is >> a Debian box :-) >>
>>> I'm still figuring things out, but here is my knowledge so far: >>> There are two interfaces eno2np1 and eno1np0.
>> >> Those look like Ethernet. Are they connected to something? >> >> What does "ip addr show" say? >>
>>> I set the my /etc/hosts, domain name and /etc/network/interfaces as before: >>> Say the address is 123.123.123.123 with a gateway of 123.123.134.254 and a >>> nameserver somewhere else: 123.123.100.100.
>> >> Are those IP addresses for real, or are you keeping back the "real" ones >> for privacy reasons? (That would be *perfectly fine*, but we might come >> up with more intelligent ideas when we know that this is the case). >>
>>> I don't have full access to the network, someone just gave this ip address >>> to the server.
>> >> Can you ping your name server? If not: how do the error messages look? >>
>>> I tried doing dhcpcd on both networks, and it works, but it gives me some >>> random address like 165.255.255.3.
>> >> Aha. That answers (partially) some of the questions above. There is a >> net "out there" (what you mean with "both networks". And: you are doing >> "dhcpd" or rather "dhclient"? (the second command is to request an IP >> address -- and possibly other network config, like DNS, etc. -- from >> a running DHCP server (for example dhcpd) out there. >>
>>> And ping says the temporar failure in name resolution. >>> I also can't ping any nameserver, not 8.8.8.8, not 123.123.100.100.
>> >> Assuming you actually did "dhclient" above: what is in your /etc/ resolv.conf >> after this step? (again, it is OK to hide your "real" IP addresses, but >> then you better choose a consistent renaming, so we can make intelligent >> guesses :-) >>
>>> Could the issue be, that I have to change my MAC address, because it will be >>> blocked somehow if its not the original?
>> >> That depends on the network your box lives in. Some do restrict the MAC >> addresses allowed to connect to ports (this will be typical in a bigger >> corporate or uni network). This is intended to enhance security. Ask your >> sysadmins. >>
>>> Physical access to the server is difficult at the moment.
>> >> That makes things ever more interesting :-) >> >> Cheers & good luck >> -- >> tomás
>