Re: internal network

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Trying to add a nameserver.

On PC B, I have
Global
         Protocols: LLMNR=resolve -mDNS -DNSOverTLS DNSSEC=no/unsupported
  resolv.conf mode: stub

Link 2 (enp3s0)
    Current Scopes: LLMNR/IPv4 LLMNR/IPv6
         Protocols: -DefaultRoute LLMNR=resolve -mDNS -DNSOverTLS DNSSEC=no/unsupported

Link 3 (wlp2s0)
    Current Scopes: DNS LLMNR/IPv4 LLMNR/IPv6
         Protocols: +DefaultRoute LLMNR=resolve -mDNS -DNSOverTLS DNSSEC=no/unsupported
Current DNS Server: 192.168.43.1
       DNS Servers: 192.168.43.1

On PC A

Global
         Protocols: LLMNR=resolve -mDNS -DNSOverTLS DNSSEC=no/unsupported
  resolv.conf mode: stub

Link 2 (enp1s0)
    Current Scopes: LLMNR/IPv4 LLMNR/IPv6
         Protocols: -DefaultRoute LLMNR=resolve -mDNS -DNSOverTLS DNSSEC=no/unsupported

Link 3 (enp2s0)
    Current Scopes: LLMNR/IPv4 LLMNR/IPv6
         Protocols: -DefaultRoute LLMNR=resolve -mDNS -DNSOverTLS DNSSEC=no/unsupported

Link 4 (virbr0)
    Current Scopes: none
         Protocols: -DefaultRoute LLMNR=resolve -mDNS -DNSOverTLS DNSSEC=no/unsupported

What should I set on this PC A?

resolvectl dns enps2s0 192.168.43.1
systemctl restart systemd-resolved

> 
> > Yes the schamatics is correct.
> > I set the gateway and now it works.
> >  
> > Now
> > 1) I wish to use internet from PC A.
> > I guess that I need to set a name server
> > But not possible manually
> 
> Presuming that you just mean for using the internet...  If internet
> sharing is working, then tell A to use the same name server that is
> working on B.
> 
> 
> > 2) How do I need to set for PC 3
> > From PC A
> > From PC C
> > I tried several things but none works
> 
> PC 3?  You're adding a third PC into this mixture?
> 
> If B was your gateway, and it had an extra spare ethernet port.  Any
> other approach would become a Frankenstein's monster of a network.
> 
> 
>         ---------          -------------         ----------
> 
> 
> I am currently horsing around with a Frankenetwork at the moment,
> somewhat similar to yours, thanks to my Fibre-to-the-house ISP becoming
> greedy and my dropping them.  Likewise it's a temporary thing, though
> saving $60 to $80 a month is looking good, right now.
> 
> I have a mobile phone which can act as a wireless access point, and
> various devices around my house are using it as one.  I only had to
> switch on Mobile Hotspot on the phone for it to act that way.  I set
> its SSID to be the same as my former network, and the WiFi devices
> around the house are happy.
> 
> And I plug a desktop PC into the phone's USB port.  I only had to
> switch on USB tethering on the phone, and the (ye olde CentOS) PC
> figured out what to do by itself, likewise if I do that with a Fedora
> PC, but an old Mac flatly refuses to do that (the phone is Android, and
> Apple are deliberately obstinate on not co-operating with non-Apple).
> 
> Things mostly work fine, apart from being double-natted (the phone and
> the phone service provider), and that's only one PC at a time.
> 
> The hard parts about doing this, are:
> 
>  * The phone only supports up to 10 devices going through it (and there
>    were more than 10 gadgets on my former wireless LAN).
> 
>  * The phone service provider uses CGNAT (so I can't FTP into things).
> 
>  * There's several non-WiFi devices, and my ye old CentOS server
>    doesn't want to share the phone's internet service out its ethernet
>    connection.
> 
>  * All the desktop devices are still ethernet cabled together, so LAN
>    work still works, but connecting the phone to one of them takes over
>    from my DNS server and uses the phone as the DNS server sometimes
>    and sometimes not.  So you get either no local name resolution or no
>    internet name resolution, until I fiddle with disconnecting and
>    reconnecting things via desktop manager.
> 
> Dunno why my server doesn't want to co-operate with internet sharing,
> I've done that kind of thing before (with dial-up modem on the serial
> port).  I settled for running Squid on that box, and the other
> computers can browse the net using it as a HTTP proxy.
> 
> But this kind of thing is messy and fragile (and temporary).  Life's
> much easier with a proper internet service going into a router.  WiFi
> and ethernet routers are quite cheap, now, probably on a par with a
> WiFi dongle.  In my case, all I have to do is find a new ISP that I'm
> happy with (acceptable pricing and service levels, with a proper real
> public IP, and preferably FTTP not 5G).
> 
> We wouldn't have this no-public-IP problem if everyone had got their
> act together and set up IPv6 properly.  But our ISPs would rather faff
> around with *very* limited CGNAT (my router used NAT, and I could
> always FTP through that without having to do anything special).  My
> former ISP had IPv6 when I first joined, then a couple of months in
> they removed it, and remotely reconfigured the supplied modem/router
> combo to disable it.
> 
> -- 
>  
> uname -rsvp
> Linux 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64
>  
> Boilerplate:  All unexpected mail to my mailbox is automatically deleted.
> I will only get to see the messages that are posted to the mailing list.
>  
> 
>
-- 
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux