Network routing question
-
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?
-
@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 -
@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.1If 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.
-
@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.1If you want to do it with just the desktop, it has to be connected to vlan10 as well.
-
@Pete-S The desktop is connected to vlan10 (my op says that, I think)
-
@Kelly That's the problem, I need this traffic to NOT use the default gateway.
-
@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.
Runip route
and post it. -
@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.
-
@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
-
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.255Assuming 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?
-
@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.255Assuming 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. -
@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.255Assuming 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?
-
@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 -
@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.235Does 250.254 have 235.235 in its upstream list or have a secondary zone for 235.x?
-
@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.
-
@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?
-
@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 -
@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 zoneYou can use an IP helper for a Meraki: https://documentation.meraki.com/MX/DHCP/Configuring_DHCP_Relay.
-
@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?
-
@Kelly said in Network routing question:
@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 zoneYou can use an IP helper for a Meraki: https://documentation.meraki.com/MX/DHCP/Configuring_DHCP_Relay.
Unfortunately, no MX, I got rid of my MX84.
DHCP is handled by Meraki MS320-24 Layer 3 switch