How to reload default Mac OSX routing table without rebooting
You need to flush the routes . Use route -n flush several times . Afterwards add your routes with route add.
You need to flush the routes . Use route -n flush several times . Afterwards add your routes with route add.
Depends on the router/switch. If it’s “Managed” – Like decent Netgear, Cisco or HP Procurve, or has STP (Spanning Tree Protocol) or one of its variants enabled, there’s a few seconds of absolute insanity, then the switch realises that there’s a loop in the network topology, and blocks one of the ports. (I’ve only described … Read more
Anycast is networking technique where the same IP prefix is advertised from multiple locations. The network then decides which location to route a user request to, based on routing protocol costs and possibly the ‘health’ of the advertising servers. There are several benefits to anycast. First, in steady state, users of an anycast service (DNS … Read more
I have yet to see a problem with auto-negotiation of network speeds that isn’t caused by either (a) a mismatch of manual on one end of the link and auto on the other or (b) a failing component of the link (cable, port, etc). This depends on the admin, but my experience has shown me … Read more
Powershell. Here is an example of changing the network profile of a network interface called Ethernet1 from whatever it is now to “Private.” I got this info from Get-Help Set-NetConnectionProfile -Full. PS C:\>$Profile = Get-NetConnectionProfile -InterfaceAlias Ethernet1 PS C:\>$Profile.NetworkCategory = “Private” PS C:\>Set-NetConnectionProfile -InputObject $Profile Documentation: https://docs.microsoft.com/en-us/powershell/module/netconnection/set-netconnectionprofile?view=winserver2012r2-ps
Problem solved: $ ssh -L 7000:127.0.0.1:7000 user@host -N -v -v …apparently, ‘localhost‘ was not liked by the remote host. Yet, remote /etc/hosts contains: ::1 localhost localhost. 127.0.0.1 localhost localhost. while the local network interface is lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 33184 inet 127.0.0.1 netmask 0xff000000 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2 Sigh. so … Read more
It depends on the subnet of the IP address in question. In general, the first and last addresses in a subnet are used as the network identifier and broadcast address, respectively. All other addresses in the subnet can be assigned to hosts on that subnet. For example, IP addresses of networks with subnet masks of … Read more
One simple method is to simply run a sniffer like tcpdump/wireshark on a computer and send out a DHCP request. If you see any offers other then from your real DHCP server then you know you have a problem.
Speed of Light: You are not going beat the speed of light as an interesting academic point. This link works out Stanford to Boston at ~40ms best possible time. When this person did the calculation he decided the internet operates at about “within a factor of two of the speed of light”, so there is … Read more
First and foremost, there is nothing to fear from being on a public IP allocation, so long as your security devices are configured right. What should I be replacing NAT with, if we don’t have physically separate networks? The same thing we’ve been physically separating them with since the 1980’s, routers and firewalls. The one … Read more