Browsing articles tagged with "route - Admins Goodies"
Dec 14, 2012
tom

Stop local emails being sent to relay host with postfix

I’ve recently signed up to SMTP2GO (smtpcorp). I’ve setup postfix on one of EC2 servers and have pointed it to my smtp2go account: relayhost = [smtpcorp.com]:2525 Now all my mail is being routed through SMTP2GO, but the issue is, that the 1000+ emails that are generated by cron job ect are being sent to SMTP2GO using the email address: root@ec2-46-51-151-256.eu-west-1.compute.amazonaws.com My question is, what would be the best way to stop all these “local” emails […]

Continue Reading »
Aug 3, 2012
tom

Routing via Linux

I have an individual network with a single machine having IP Address 10.10.10.4. Another machine (Gateway Machine) has two NICs: eth0 and eth1. eth1 (10.10.10.10) is connected to the internal network machine and has no direct connection with the outside world. eth0 (192.168.1.171) is connected to the external physical adapter. Now, I want to communicate with the external network machine having IP Address 192.168.1.185. I have added the default gateway in the internal network machine […]

Continue Reading »
May 25, 2012
tom

Why ip route add doesn’t work, but ip route add with less details and then change works?

I have a problem with ip route add. Surprisingly, I can add the route then change it, but I cannot directly add it: # ip route add 192.168.0.0/16 via 192.168.255.254 src 192.168.1.101 RTNETLINK answers: No such process but: # ip route add 192.168.0.0/16 dev eth0 # ip route change 192.168.0.0/16 via 192.168.255.254 src 192.168.1.101 My interfaces file is: iface lo inet loopback auto eth0 iface eth0 inet static address 178.xxx.xxx.xxx netmask 255.255.255.192 network 178.xxx.xxx.xxx broadcast […]

Continue Reading »
Apr 24, 2012
tom

howto only tunnel specific hosts route through openvpn client on tomato

I am relatively newbie in networking world although I did coding and know some sysadmin background for a long time. and here I’m only one step from my destination. The whole picture is : at home I use one LinkSys E3000 as the gateway(don’t know yet if this is it’s name), wireless AP and no other routing/switching devices. It serves 1 PC and 1 Mac with LAN, 1 Mac Mini + 1 iPad + 2 […]

Continue Reading »
Apr 18, 2012
tom

BSD route(8) MAN page bug

http://www.freebsd.org/cgi/man.cgi?query=route Route is a utility used to manually manipulate the network routing tables. It normally is not needed, as a system routing table management daemon such as routed(8), should tend to this task. … BUGS The first paragraph may have slightly exaggerated routed(8)’s abilities. Is this really a “bug”, or some developer’s attempt at humour? Asked by Mark Henderson routed is a RIP daemon, which as any network administrator knows, is not very effective at […]

Continue Reading »
Apr 17, 2012
tom

what’s the difference between ICMP prohibited ICMP unreachable?

If I want to forbid a route to response a network, should I use ip route add unreachable 209.10.26.51 or ip route add prohibit 209.10.26.51? Asked by yangchenyun The router will legitimately give back UNREACHABLE whenever it doesnt have a route to the destination. PROHIBITED is probably the better practice to go with. If you get into the habit of setting unreachable, it may cause confusion down the line when youre troubleshooting why your router […]

Continue Reading »
Apr 7, 2012
tom

Windows 7 routing traffic through the gateway for local addresses

Windows is adding a route for a local address (10.0.0.90 – my fileserver) with a gateway of (10.0.0.138 – this is my gateway), the gateway only has a 100Mbs link so all of my fileserver bound traffic is being reduced to 100mbs, if I unplug the gateway it jumps back upto 1000mbs. The fileserver also functions as the DHCP (isc) server (i am booting from iSCSI with IET and iPXE). Also the machine with the […]

Continue Reading »
Mar 15, 2012
tom

Windows 7 + IPSec: Force all remote traffic through VPN

I have set up a VPN connection to an remote L2TP/IPSec VPN server, which works fine. Now i like to ensure that all remote traffic is being routed through this VPN, so if the VPN connection drops, no remote connection is being established I thought of adding an persistent route, but i’m not sure about the correct syntax and configuration/metric. Thanks in anticipation Asked by dapperdan resmon6’s solution obviously works, thx anyhoo Answered by dapperdan […]

Continue Reading »
Mar 14, 2012
tom

Under what circumstances will Linux ignore the route table when choosing the MAC address for an outbound frame?

While debugging a problem with the networking configuration for a set of virtual machines running under KVM, I discovered a circumstance where the kernel in the guest VM has decided to stamp the outgoing Ethernet frame with a destination address that is in conflict with the address it would choose if it was respecting with the kernel IP route table. So, in that example, I expected the outbound frame to be delivered to de:ad:be:3b:24:48 which […]

Continue Reading »
Feb 13, 2012
tom

What does this linux command mean “route add -net 224.0.0.0 netmask 240.0.0.0 eth0”

Could somebody explain what exactly this command means in relation to transmitting and receiving multicast traffic route add -net 224.0.0.0 netmask 240.0.0.0 eth0 Asked by smicjk The “224.0.0.0” is a reserved range of IPv4 addresses having special multicast meaning (IPv4 Multicast). The command in itself just means that the multicast routing should go through the “eth0″ interface. Answered by Ouki Check more discussion of this question. Bookmark on Delicious Digg this post Recommend on Facebook […]

Continue Reading »
Pages:1234567»