ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Network routing question

    IT Discussion
    fedora 30 network routing dns
    5
    27
    1.7k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • FATeknollogeeF
      FATeknollogee
      last edited by

      On my FC30 desktop, I have one nic, subnet is 1.1.1.1
      I also have a vlan 10, subnet is 2.2.2.2
      On vlan 10, there is a dns server at 2.2.2.200

      How can I "route" specific traffic to through vlan 10?

      1 Reply Last reply Reply Quote 0
      • 1
        1337
        last edited by 1337

        That is an odd question.

        With routing you can send ip traffic destined for a specific ip range to a specific gateway. Otherwise it is sent to the default gateway of that machine and it will have to deal with it.

        NIC and subnet is not exactly related. You can have several IP addresses on one NIC and each can be in a different subnet.

        Also different vlans are different lans, just as you could have one switch for each lan. If you want something to route between two different vlans, it has to be connected to both vlans.

        What exactly are you trying to accomplish?

        FATeknollogeeF 1 Reply Last reply Reply Quote 0
        • FATeknollogeeF
          FATeknollogee @1337
          last edited by

          @Pete-S I want to open up a browser & type in the name of a computer on vlan10 & have the traffic flow through.
          Right now, the traffic tries to go through the gateway on 1.1.1.1

          KellyK 1 2 Replies Last reply Reply Quote 0
          • KellyK
            Kelly @FATeknollogee
            last edited by

            @FATeknollogee said in Network routing question:

            @Pete-S I want to open up a browser & type in the name of a computer on vlan10 & have the traffic flow through.
            Right now, the traffic tries to go through the gateway on 1.1.1.1

            If an address is placed outside of your subnet due to the mask, the traffic has to go to your default gateway. If you want a different gateway you would have to do default routes on your clients.

            FATeknollogeeF 1 Reply Last reply Reply Quote 1
            • 1
              1337 @FATeknollogee
              last edited by

              @FATeknollogee said in Network routing question:

              @Pete-S I want to open up a browser & type in the name of a computer on vlan10 & have the traffic flow through.
              Right now, the traffic tries to go through the gateway on 1.1.1.1

              If you want to do it with just the desktop, it has to be connected to vlan10 as well.

              FATeknollogeeF 1 Reply Last reply Reply Quote 1
              • FATeknollogeeF
                FATeknollogee @1337
                last edited by

                @Pete-S The desktop is connected to vlan10 (my op says that, I think)

                1 KellyK 2 Replies Last reply Reply Quote 1
                • FATeknollogeeF
                  FATeknollogee @Kelly
                  last edited by

                  @Kelly That's the problem, I need this traffic to NOT use the default gateway.

                  1 Reply Last reply Reply Quote 0
                  • 1
                    1337 @FATeknollogee
                    last edited by

                    @FATeknollogee said in Network routing question:

                    @Pete-S The desktop is connected to vlan10 (my op says that, I think)

                    Run ip addr and post it.
                    Run ip route and post it.

                    FATeknollogeeF 1 Reply Last reply Reply Quote 1
                    • KellyK
                      Kelly @FATeknollogee
                      last edited by

                      @FATeknollogee said in Network routing question:

                      @Pete-S The desktop is connected to vlan10 (my op says that, I think)

                      Ok, I misunderstood your OP.

                      1 Reply Last reply Reply Quote 0
                      • FATeknollogeeF
                        FATeknollogee @1337
                        last edited by

                        @Pete-S said in Network routing question:

                        @FATeknollogee said in Network routing question:

                        @Pete-S The desktop is connected to vlan10 (my op says that, I think)

                        Run ip addr and post it.

                        2: enp8s0f0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
                            link/ether 00:25:90:6d:41:ee brd ff:ff:ff:ff:ff:ff
                            inet 10.250.251.242/22 brd 10.250.251.255 scope global dynamic noprefixroute enp8s0f0
                               valid_lft 77617sec preferred_lft 77617sec
                            inet6 fe80::d10b:e3fd:dfb6:4149/64 scope link noprefixroute 
                               valid_lft forever preferred_lft forever
                        3: enp8s0f1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq master bridge0 state UP group default qlen 1000
                            link/ether 00:25:90:6d:41:ef brd ff:ff:ff:ff:ff:ff
                        
                        19: enp8s0f1.235@enp8s0f1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
                            link/ether 00:25:90:6d:41:ef brd ff:ff:ff:ff:ff:ff
                            inet 10.50.235.12/24 brd 10.50.235.255 scope global dynamic noprefixroute enp8s0f1.235
                               valid_lft 522139sec preferred_lft 522139sec
                        

                        Run ip route and post it.

                        default via 10.250.250.254 dev enp8s0f0 proto dhcp metric 102 
                        default via 10.50.235.254 dev enp8s0f1.235 proto dhcp metric 400 
                        default via 10.250.250.254 dev bridge0 proto dhcp metric 425 
                        10.50.235.0/24 dev enp8s0f1.235 proto kernel scope link src 10.50.235.12 metric 400 
                        10.250.248.0/22 dev enp8s0f0 proto kernel scope link src 10.250.251.242 metric 102 
                        10.250.248.0/22 dev bridge0 proto kernel scope link src 10.250.251.243 metric 425
                        
                        1 Reply Last reply Reply Quote 0
                        • DashrenderD
                          Dashrender
                          last edited by

                          I see these two IPv4 networks
                          10.250.251.242/22 brd 10.250.251.255
                          10.50.235.12/24 brd 10.50.235.255

                          Assuming you want to reach 10.50.235.200 for DNS, do you have that address setup as a DNS server?

                          Also, if you have multiple DNS server setup, it will use the first one until it fails, then it will failover to #2 in the list, etc. so you can't simply list multiple DNS server and expect them all to be used.

                          Can you ping the IP of the client you want to connect to by IP?

                          FATeknollogeeF 1 Reply Last reply Reply Quote 0
                          • FATeknollogeeF
                            FATeknollogee @Dashrender
                            last edited by FATeknollogee

                            @Dashrender said in Network routing question:

                            I see these two IPv4 networks
                            10.250.251.242/22 brd 10.250.251.255
                            10.50.235.12/24 brd 10.50.235.255

                            Assuming you want to reach 10.50.235.200 for DNS, do you have that address setup as a DNS server?

                            Also, if you have multiple DNS server setup, it will use the first one until it fails, then it will failover to #2 in the list, etc. so you can't simply list multiple DNS server and expect them all to be used.

                            Can you ping the IP of the client you want to connect to by IP?

                            DNS server is at 10.50.235.235
                            Yes, I can ping the DNS Server and the clients on the 10.50 network by IP address but not by name.
                            If I disable the 10.250 network, then I can ping & reach the clients by name.

                            dafyreD 1 Reply Last reply Reply Quote 0
                            • dafyreD
                              dafyre @FATeknollogee
                              last edited by

                              @FATeknollogee said in Network routing question:

                              @Dashrender said in Network routing question:

                              I see these two IPv4 networks
                              10.250.251.242/22 brd 10.250.251.255
                              10.50.235.12/24 brd 10.50.235.255

                              Assuming you want to reach 10.50.235.200 for DNS, do you have that address setup as a DNS server?

                              Also, if you have multiple DNS server setup, it will use the first one until it fails, then it will failover to #2 in the list, etc. so you can't simply list multiple DNS server and expect them all to be used.

                              Can you ping the IP of the client you want to connect to by IP?

                              DNS server is at 10.50.235.235
                              Yes, I can ping the DNS Server and the clients on the 10.50 network by IP address but not by name.
                              If I disable the 10.250 network, then I can ping & reach the clients by name.

                              What is your machine set to use for DNS server right now?

                              FATeknollogeeF dafyreD 2 Replies Last reply Reply Quote 1
                              • FATeknollogeeF
                                FATeknollogee @dafyre
                                last edited by

                                @dafyre said in Network routing question:

                                What is your machine set to use for DNS server right now?

                                It gets it's DNS settings from the DHCP server.
                                10.250.250.254
                                10.50.235.235

                                KellyK 1 Reply Last reply Reply Quote 0
                                • KellyK
                                  Kelly @FATeknollogee
                                  last edited by

                                  @FATeknollogee said in Network routing question:

                                  @dafyre said in Network routing question:

                                  What is your machine set to use for DNS server right now?

                                  It gets it's DNS settings from the DHCP server.
                                  10.250.250.254
                                  10.50.235.235

                                  Does 250.254 have 235.235 in its upstream list or have a secondary zone for 235.x?

                                  FATeknollogeeF 1 Reply Last reply Reply Quote 0
                                  • FATeknollogeeF
                                    FATeknollogee @Kelly
                                    last edited by

                                    @Kelly said in Network routing question:

                                    @FATeknollogee said in Network routing question:

                                    Does 250.254 have 235.235 in its upstream list or have a secondary zone for 235.x?

                                    No, 250.254 doesn't have a DNS server, just services provided by the dhcp router.

                                    KellyK 1 Reply Last reply Reply Quote 0
                                    • KellyK
                                      Kelly @FATeknollogee
                                      last edited by

                                      @FATeknollogee said in Network routing question:

                                      @Kelly said in Network routing question:

                                      @FATeknollogee said in Network routing question:

                                      Does 250.254 have 235.235 in its upstream list or have a secondary zone for 235.x?

                                      No, 250.254 doesn't have a DNS server, just services provided by the dhcp router.

                                      I am confused. Either way, does the DNS server in the subnet where your DNS service is working have the DNS server for the non functioning subnet in its upstream list or a secondary zone for that subnet?

                                      FATeknollogeeF 1 Reply Last reply Reply Quote 0
                                      • FATeknollogeeF
                                        FATeknollogee @Kelly
                                        last edited by

                                        @Kelly said in Network routing question:

                                        @FATeknollogee said in Network routing question:

                                        @Kelly said in Network routing question:

                                        @FATeknollogee said in Network routing question:

                                        Does 250.254 have 235.235 in its upstream list or have a secondary zone for 235.x?

                                        No, 250.254 doesn't have a DNS server, just services provided by the dhcp router.

                                        I am confused. Either way, does the DNS server in the subnet where your DNS service is working have the DNS server for the non functioning subnet in its upstream list or a secondary zone for that subnet?

                                        250.254 is my Meraki router (so no "standalone" DNS server)
                                        Not sure if I can add a secondary zone

                                        KellyK 1 Reply Last reply Reply Quote 0
                                        • KellyK
                                          Kelly @FATeknollogee
                                          last edited by

                                          @FATeknollogee said in Network routing question:

                                          @Kelly said in Network routing question:

                                          @FATeknollogee said in Network routing question:

                                          @Kelly said in Network routing question:

                                          @FATeknollogee said in Network routing question:

                                          Does 250.254 have 235.235 in its upstream list or have a secondary zone for 235.x?

                                          No, 250.254 doesn't have a DNS server, just services provided by the dhcp router.

                                          I am confused. Either way, does the DNS server in the subnet where your DNS service is working have the DNS server for the non functioning subnet in its upstream list or a secondary zone for that subnet?

                                          250.254 is my Meraki router (so no "standalone" DNS server)
                                          Not sure if I can add a secondary zone

                                          You can use an IP helper for a Meraki: https://documentation.meraki.com/MX/DHCP/Configuring_DHCP_Relay.

                                          FATeknollogeeF 1 Reply Last reply Reply Quote 0
                                          • dafyreD
                                            dafyre @dafyre
                                            last edited by

                                            @dafyre said in Network routing question:

                                            DNS server is at 10.50.235.235

                                            Configure your computer to look to 235.235 for DNS... and configure the DNS server at 235.235 to forward anything it doesn't recognize along to your Meraki?

                                            FATeknollogeeF 1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 1 / 2
                                            • First post
                                              Last post