New answers tagged

1

Switches forward packets based on destination MAC address, routers forward packets based on destination IP address. If both PCs are in the same IP subnet connected to a switch, then traffic between them goes direct, it does not go via the router. When a PC knows that the other device is local (using the destination IP and it's own IP & subnet mask) it ...


0

USB simply wasn’t made for host-to-host connections. It is not a suitable connection for what you’re doing. If I understand correctly you have two networks that are running on the same switch, separated only by VLANs. You (somewhat) trust the client PCs. That makes it possible to use 802.1q VLAN Tagging. This means the switch would be set up to tag packets ...


0

In the DNAT rule, instead of -d x.x.x.x, use -i eth1 -m addrtype --dst-type LOCAL.


0

If you have -ISP 1 : 192.168.1.253 eth0 - default gateway -ISP 2 : 192.168.0.254 eth1 The following commands create an alternate routing table via eth1 for packets that have the mark 1 ip rule add fwmark 1 table 1 ip route add 127.0.0.0/0 table 1 dev lo ip route add 0.0.0.0/0 table 1 dev eth1 The other half of the job is recognizing packets that must ...


0

One other solutions that might work depending on your setup. If you know that ifup is being used to bring up your VPN interface vpn_vpn add the following lines to /etc/network/interfaces to change the default route (or any other): iface vpn_vpn inet dhcp post-up sleep 6; ip route del default; ip route add default via <gateway_ip> Depending on how ...


0

I might be missing something here but, how is your computer suppossed to know that myserver does no longer have IP 192.168.1.1 after you change it? When you do ping myserverafter changing the IP, it says: PING myserver (192.168.1.1) 56(84) bytes of data. So, it is trying to ping the address you have set before.


0

I think I may have finally come up with an answer. I'd still be happy to hear if anyone comes up with another solution that might work. I'm testing this solution now: bash script echo "script \"/etc/dhcp/dhclient-script\";" | sudo tee -a /etc/dhcp/dhclient.conf echo "#!/bin/sh case \$interface in vpn_vpn) unset \$new_routers ;; *) ;; esac" | ...


0

my question is how I can increase range of adhoc network using AODV routing protocol? Short answer: you can't. The Ad hoc On-Demand Distance Vector routing protocol is just that, a protocol. It doesn't allow more/less dB gain on your antenna. From the AODV protocol text: The Ad hoc On-Demand Distance Vector (AODV) routing protocol is ...


1

Whoever set up that hostel's network made the mistake of using the RFC 3927 IPv4 Link-Local subnet (169.254.0.0/16) where it should have used an RFC 1918 private subnet (192.168.0.0/16, 172.16.0.0/12, 10.0.0.0/8) as the NAT private subnet. This violates the "1.6 Alternate Use Prohibition" provision of RFC 3927. So it's no surprise that some clients have ...


0

The other answers are correct. So in the interests of confirmation - I suggest you try it and find out. tracert or traceroute or tracepath or mtr from one host to another. Grab a spare (ie non-production) computer and give it an IP of 192.168.166.x /24 or 255.255.255.0 and a gateway of 192.168.166.1 You'll need to configure your firewall device to have a ...


0

169.254.x.x is unroutable, it's designed to not pass a router, it can only stay within its own subnet. It can be routed, but it oughtn't to be. From RFC 5735 This is the "link local" block. As described in RFC3927, it is allocated for communication between hosts on a single link. Hosts obtain these addresses by auto-configuration, such ...


1

According to your tracert result, it's absolutely normal that 10.35.130.10 routed to 192.168.1.1(default GW). As you can see, only 10.0.0.0/26(10.0.0.0 ~ 10.0.0.64) will be routed to 10.35.133.193. There are no route for 10.35.130.10, therefore it's routed to default GW. Just add 10.35.130.10's network entry routed to 10.35.133.193.


0

Buy a switch. A usb router does not work like that. You'd plug those into a PC - the USB ports on routers are meant for mass storage or printers.


0

At our Plant we us something similar to these in a lot of or project PCs. Of course we had a company Manufacturer ours to the simplest with our logo on them for internal use only. Our use the Lan9500 So you want to use one for linux builds I would try this. Link To Buy on Amazon Linux Kernels 3.9 and above have built in driver support.


0

I've managed to get it working with part of what I found here. push "redirect-gateway def1 bypass-dhcp" push "dhcp-option DNS 8.8.8.8" user nobody group nogroup


17

Almost certainly, the communication path would be A ↔︎ switch ↔︎ B, not going through the firewall and router. Assuming that workstations A and B have IP addresses with the same network and netmask, they should be able to interact with no router involved, because the switch knows how to forward packets. You should be able to verify that there are no ...


69

Routers aren't necessary unless your traffic needs to move to a different subnet. When a computer wants to send some IP traffic to a different machine on its subnet, it needs the recipient's MAC address, since IP addresses aren't a thing at a switch's layer (Layer 2 of the OSI model). If it doesn't know the MAC address, it broadcasts an ARP request, saying ...


25

If 2 computers are connected to the same vlan on a switch and share the same subnet mask - the switch should deliver the packet without hitting your firewall or router. You can verify this by running tracert 192.168.0.X (assuming Windows) and you should see a direct route to that system.


1

146.115.72.0 is you network IP. According to the mask 255.255.252.0, CIDR network specification is 146.115.72.0/26, so external IP address 146.115.74.4 is within the range of possible addresses 146.115.72.1 - 146.115.75.254 These are quite typical settings no matter who set them up.


1

Just ran into a similar problem - SG2210 + 1043ND. Client connected directly to router could ping internet/lan, but the switch was unreachable, also connecting clients to the switch resulted in loss of connection to DHCP server (router). Even setting the switch's admin IP to the same subnet didn't help. After installing the latest firmware everything looks ...


0

The expression link#x, where x is some digit, is used to indicate that the corresponding address is a link-level address, .i.e, an address that operates only on the network the host is physically connected to. Thus these addresses are not used to reach hosts outside your local network, or, in technical lingo, they are not routable: once packets with these ...


0

At a guess the topology of the network would be Client => Internet => 10.8.0.241 => 10.8.0.0/24 When the VPN is established you can't directly connect to any host but the VPN endpoint via tun0. To send data to anything else in the 10.8.0.0/24 range you need to send it to the GW (10.8.0.241) which would then forward it on to the correct host. This could be ...


0

Before answering this questions let me explain the flags which are linked. U (route is up) H (target is a host) G (use gateway) Route 2 and 3 cannot be combined because you are informing the source machine to reach 10.8.0.241 directly (metric 0) and to reach any machine with the network ID 10.8.0.0/24 please use the gateway 10.8.0.241. I am not sure why ...


0

It may be a DNS problem or your ISP is blocking this website. You could try to configure different DNS in your PC manually. You could get a list of DNS here. If it doesn't work probably your ISP is blocking this website. Here the only way to access to the website is throught a VPN to a place where it's authorized.


1

The problem was with TP-link and their failure to display a correct list of firmware as I needed a firmware update. However, TP-link had the firmware linked on .com.au website and .com website. The .com.au was missing a page update listing two more versions when compared to the .com web page. Other than the missing updates, the page design was the same. ...


1

I use routing tables for this on Linux, is there something similar Windows? Windows has the route command: ROUTE.exe Manipulate network routing tables. Route packets of network traffic from one subnet to another by modifying the route table. Syntax Display route details: ROUTE [-f] PRINT [destination_host] [MASK subnet_mask_value] ...


0

To be able to route all internet bound traffic through your VPN tunnel, you will need to change the default route to go through that VPN interface, which in your case is "10.8.0.5 dev tun0". To do this you will need to type a command like this ip route add default via 10.8.0.5 There may be some oddities with two default routes, and I am unsure as to the ...


0

Manually give your computer a 192.168.1.x/24 IP address. That's all you have to do. You shouldn't have to hand-create ARP mappings or routes or worry about router addresses or what other subnets other devices on your LAN happen to be using. In fact you should delete the bogus ARP mapping you created on your computer that pointed 192.168.1.1 to your router. ...


0

On my router, I had to turn off "NAT acceleration" (Cut Through Forwarding) as this broke NAT loopback...


2

What is 0.0.0.0 means in destination and gateway column The "destination" column, together with the "genmask", is a mask that the destination address must match: (packet_destination & route_mask) == route_destination. So a route with destination 0.0.0.0 & mask 0.0.0.0 matches everything – it is the default route. In the "gateway" column, ...


0

I gave up with getting policy-based routing to work. Instead, I ended up using network namespaces to accomplish my goal. A good guide to get started can be found here https://schnouki.net/posts/2014/12/12/openvpn-for-a-single-application-on-linux/ Special thanks to MariusMatutiae for all the help!


1

You have incorrectly partitioned your routes thru your two routing tables. The following routes, appearing in the main table, belong to the vpn table: 0.0.0.0/1 via 10.197.1.5 dev tun0 128.0.0.0/1 via 10.197.1.5 dev tun0 10.197.1.1 via 10.197.1.5 dev tun0 10.197.1.5 dev tun0 proto kernel scope link src 10.197.1.6 209.95.50.86 via 192.168.1.1 dev ...


1

(As you don't mention any operating system, I'll assume that it's all Linux). You'll need to ensure that packet forwarding is enabled on PC1. To do this permanently, add a file in /etc/sysctl.d/ (I called mine local.conf): net.ipv4.ip_forward = 1 You'll also want to set its iptables to do NAT, by editing /etc/iptables.rules (assuming you have an ...


0

I see this case very much related to data congestion management although a very bad managed one for whatever the reason could be. To my understanding, there is packet buffer along the transmission system -badly managed, which causes this anomaly in the ICMP echo request/reply packets. So the combination of having a bad congestion managment policy with ...


3

A reverse proxy can accomplish what you are looking for. See the answer here: http://serverfault.com/questions/469879/two-or-more-services-on-same-port-behind-nat?rq=1 You would configure the reverse proxy to accept requests to the DNS name of your web server for example and the send all other port 80 traffic to the xbox.


0

I read the instructions on: https://openvpn.net/index.php/open-source/documentation/howto.html#scope And I've added route 192.168.1.0 255.255.255.0 to the server.conf on my VPS and also iroute 192.168.1.0 255.255.255.0 to the correspondig ccd file for the client. And then I used the command route add -net 192.168.1.0 netmask 255.255.255.0 gw 10.8.0.6 and ...



Top 50 recent answers are included