I am looking for a way to delete the systems default gateway from the routing table via the NETLINK API.Unfortunately, the documentation I found about NETLINK is incomplete.There are some basics (communicating with the kernel, reading the routing table) but not much more.Does anyone know the packet format for deleting a routing table entry, especially deleting the default gateway? I can set or change the default gateway with the following parameters (there are more, but I left out all the non-essential ones):
I use Ubuntu 10.10 x64 at home. My company uses Microsoft RDS (remote desktop services, aka terminal services) at work and I'd like to know if it's possible to connect from home.
On a Windows machine, there is an extra tab in the remote desktop client that allows you to specify a secure gateway to connect through - this means you don't need to establish a VPN connection beforehand, it simply just connects straight away via an SSL tunnel.
I've looked at quite a few Ubuntu RDP clients and none of them seem to have this option.
Does anyone know if it can be done? Either that or I'd like to get my hands on a copy of the 64 bit linux Cisco VPN client that works. I've found a few copies around the internet but they always fail to install.
I have a server with 192.1.9.10 ip address and I want to define two gateways with ip: 192.1.9.4 and 192.1.9.254 on it but I don't know how I can do it. I don't have professional information in linux.
I've rent a server from a Germany data center,They use a single IP as their gateway that is not in range of my servers IP,Strangly server is working well and when I use 'route -n' command the gateway which is in other subnet appears properly./etc/sysconfig/network contains no gateway IP and I don't know how they set the default gateway while after reboot the gateway is the same, also the IP is static and there's now DHCP.I need to know how they did it so I can do the same on my VPSes.
I have 2 lancard eth0 connected to local lan eth1 connected to bsnl broadband connection, I have centos 5.3 here I configure broadband in dial up mode. I am unable to ping outside world and unable to access some site but able to access internet like google etc, configure file is as:
I have one scenerio ,I want to use my Linux PC as residential gateway .I have only one NIC connected to my PC(I cannot connect more) to handle this problem I am using switch . All the devices including my PC are connected using switch (Please refer attached file). I am not sure how can I achieve this ? I am familiar with NAT and DHCP but do not know is this possible in this case?
we have a problem in accessing the site hosted on our web server from today.Till yesterday it worked fine. But when tried to access through domain name this morning it throws bad gateway error."The proxy server received an invalid response from an upstream server". this is the error i am getting.But it can be accessed fine using the ipaddress.All my dns entries are right.
I did an upgrade from 11.2 to 11.3 at my Dell D820 laptop. Everything is working fine except that with Networkmanager it no longer sets the default gateway received by DHCP. I do receive an IP-adress (wired/wireless, does not make a difference) but no gateway. I have tested with several networks and this problem stays...
Of course I can do it manual (adding an default gw), but facing different wired/wireless networks its very unhandy.
Under Networkmanager -> Manage Connection You can edit a connection. If you do that, under tab 'IP-address' -> Configure: Automatic (DHCP) . Below you can select option 'routes'. In this field nothing is selected (I think that is correct). It must be something simple/stupid but what?
I have a gateway computer that I've been trying to fix up - whenever I try to install Windows XP/2000/Ubuntu, it finds a bunch of errors. I'd really like to get this computer working, it has a 300GB HD, TV inputs, USB ports out the wazoo, and all that other good stuff. Can someone help me with what to do or have a suggestion on what to replace?
I have formatted the hard drive (the Windows installation did it.) The windows installation is to the point where its copying the installation files to the disk, then it gives me an error that it can't find/can't copy the file. The Linux installation just gives me cryptic errors before it even does anything.
I just want to get it to a point where it's usable I really don't care what operating system.
FTP is not working through a gateway and I think I found that I need to modprobe ip_masq_ftp. However, when I do try to load ip_masq_ftp I get the error: FATAL: Module ip_masq_ftp.o not found.My question is: how do I get ip_masq_ftp?More questions: Do I have to build a new kernel? If I do need to build a new kernel do I just include the ip_masq_ftp module or are there other modules that I need?
What i need to do is setup a gateway with 2 red networks, reason being 1 is my internet connection and the other is my bDSL connection for our IP phone system and i need an IP range of traffic routed to the bDSL rather than internet, i can do this on individual PC's but id like to do it at the firewall level so i dont have to configure each machine on the network.
basically i want all traffic to go to internet except for say 203.x.x.x which i want routed to the bDSL router and let it handle it. Ive dome some reading and it seems ipcop and smoothwall cant do it so i was hoping with some tricky work maybe i can get ubuntu to do it for me.
I am having trouble installing ubuntu on a new to me gateway computer. The spec's are as thus: Intel Celeron Cpu 2.4GHz, 1.25 GB DDR RAM, 250 GB ATA 5200rpm HD. I have tried installing Ubuntu 10.4, Ubuntu 9.10, Xubuntu 10.4 and Lubuntu 10.4. Neither Ubuntu 10.4 or 9.10 would boot from live cd and after full install would freeze on the loading 5 dot screen with no messages. Xubuntu would freeze sooner.
Lubuntu would go live but after a full install would come up with this error, "(process:219): GLib-WARNING **: getpwuid_r(): failed due to unknown user id". All of the cd's work fine on my laptop and I have checked them for defects. I have tried safe graphics mode a changing around a few options. So I was wondering if this computer just won't take Ubuntu or is there a work-around on the command line? I've only been working with Ubuntu for about 6 months.
I can ping my IP, and other PC in the same LAN, but I CANNOT ping the gateway on my 10.04LTS ubuntu. Other PC in the same LAN(Ubuntu 10.04LTS) could ping the gateway and my IP. I thought that (1)network cable is OK because I could ping the other PC in the same LAN.(2)Gateway is OK because other PC could ping it. (3)setting of operating system might be somehow wrong.
I have tried to restart the network several times and still not works. I followed the HOW-To debug tips and following is the results. Any suggestions?
I am coming across a strange error with my gateway. When I do a "ping", this is what I get below:k-63a5b848c6cb4:~ # ping simba PING simba.gateway.2wire.net (192.168.1.69) 56(84) bytes of data.
64 bytes from k-63a5b848c6cb4 (192.168.1.69): icmp_seq=1 ttl=64 time=0.041 ms 64 bytes from k-63a5b848c6cb4 (192.168.1.69): icmp_seq=2 ttl=64 time=0.029 ms 64 bytes from k-63a5b848c6cb4 (192.168.1.69): icmp_seq=3 ttl=64 time=0.023 ms
Im having a issue with routing internet traffic from my router two different subnets (vlans).
Theres my setup:-
Server:
Both eth0,1 are running dhcp (two scoopes) that works fine!
The output of route -n is:
I have ip_forwarding on aswell, but i can ping the ip on the server running that dhcp scoope ie ping 192.168.4.1 works great but i just cant get the internet on the clients.
I recently purchased a Gateway SX2800, Intel Q8200 quad processor, 4 GB DDR3, with built in GMA X4500 graphics. It works fine with the Vista that came with it (at least as fine as Vista works), but I have tried live cd's of 18 distro's, and only 5 will load (not ones I particularly like). I prefer Ubuntu, and it starts to load, gives the Ubuntu splash screen, then after a few minutes goes to a black screen. One of the non *buntu flavors I tried to load got to that point and showed a color band with the error message "Signal out of range". In searching this, the GMA X4500 graphics is listed as working with linux, and several posters on different websites talk about the SX2800 working with Ubuntu.
I'm thinking of setting up my own sms gateway using my own linux server and regular old nokia phone, along the lines of what is described here [URL]
I was wondering if anyone out there has been down this road before, and in particular knows about approximately how many messages could be sent/received per minute? In the application I have in mind (an instantaneous online survey from an audience of hundreds) I would need to be receiving hundreds of sms texts in around a minute. I was wondering if that was pushing it in terms of the capabilities of an old phone.
I have just purchased a Gateway NV5214u laptop, preloaded with Vista for my spouse. I want to install Mandriva 2010.0, either as a sole system or as a dual boot. I am not familiar with Vista and think that I can better help her to learn computing if she is using a Linux machine.
Is this machine fully compatible for a Linux install? Will Linux be able to support the additional keys on the keyboard, such as the volume controls? I have made a recovery disk from the hidden partition. In the event that my spouse wishes to revert to Vista, will the recovery disk handle the fact that the disk has been repartitioned?
I have previously repartitioned Windows 2000 machines and installed dual boots but never done so on a preloaded laptop, The Windows 2000 machines always had full OEM Windows 2000 disks.
a wireless router (box) is went stuck, I found that when it is stuck it uses strange IP local address remote address 10.112.112.112, today is also went stuck but this time the gateway was 10.112.112.112. I had to switch off, switch on teh router to function properly. I am using DSL connection normally the gateway is likie that 78.8.... and my IP (dynamic) like 78.8.240..... Is there any default meaning of 10.112.112.112 in teh net connections?
recently i have combined 2 machines into 1. after doing this, the ping to the new machine stops, for no apparent reason, and consequently all traffic to/from the machine also stops. when using the two machines individually this never happened.Lastly, if i restart the network, it kills everything (like the network just wont restart - it reaches the last interface and hangs), and if i reboot the machine, it seems to be fine for about 3-4hours.has anyone seen anything like this when connecting a large number of hosts to 1 gateway, using linux as the router?
Our firewall (debian) currently has 4 public ip addresses (eth0 1.2.3.4, eth0:0 1.2.3.5, eth0:1 1.2.3.8, eth0:2 1.2.3.9) and 3 internal subnets (eth1 10.1.x.x, eth1:0 10.2.x.x, eth2 10.7.x.x). We are experiencing the following two problems which I believe have the same root cause. 1) The firewall cannot access beyond the isp gateway (1.2.3.1). 2) From externally, we can ping eth0 with no trouble, however, pinging the eth0:0, eth0:1 and eth0:2 interfaces have results similar to the following:
Code: PING 1.2.3.8 (1.2.3.8) 56(84) bytes of data. 64 bytes from 1.2.3.8: icmp_seq=2 ttl=57 time=59.0 ms 64 bytes from 1.2.3.8: icmp_seq=2 ttl=57 time=63.0 ms (DUP!) 64 bytes from 1.2.3.8: icmp_seq=13 ttl=57 time=59.3 ms 64 bytes from 1.2.3.8: icmp_seq=13 ttl=57 time=63.0 ms (DUP!) 64 bytes from 1.2.3.8: icmp_seq=24 ttl=57 time=62.0 ms 64 bytes from 1.2.3.8: icmp_seq=24 ttl=57 time=65.6 ms (DUP!)
I get the feeling that I'm missing something obvious, especially since all traffic on the internal subnets can access externally as normal.
I got 2 servers, each on different locations (server 1 and server 2). I want all traffic on server1 included web browsing, applications etc., be always going through server2, like a gateway. I want the traffic to be encrypted (maybe use VPN?) So if I browse, or any logs pick up ip adresses from applications used by server1, I want it to display the IP address from server2 (Might be the wrong way to say it).
I always wants server2 to act as an firewall and logserver that logs all the traffic. I was thinking about using Snort for IPS/IDS solutions and OpenVPN for the traffic, but what can I use as a firewall? Most firewalls I find on google has its own OS/Distribution. Maybe Squid for logs? But squid does not support much protocols. Distribution on both servers are updated Debian/Ubuntu based.
I am using Fedora 10. I have a network design like that:
WinServer --- (r1)router(r0) --- (eth1)LinuxPC(eth0) --- intranetPC All netmask is 255.255.255.0 WinServer network is 192.168.1.0/24 intranetPC network is 10.10.0.0/24, gateway is IP of the LinuxPC(eth0): 10.10.0.2
I search in Internet several days to find how to configure the LinuxPC to a gateway. The LinuxPC can ping and connect the WinServer and intranetPC correctly, but the intranetPC cannot ping and connect the WinServer network.
I used the webmin to configure the Gateway. I used the iptables to set allow all connect, than iptables -t nat -A POSTROUTING -eth1 -j MASQUERADE iptables -A FORWARD -i eth0 -j ACCEPT echo 1 > /proc/sys/net/ipv4/ip_forward In "/etc/sysconfig/network" add "FORWARD_IPV4=true"