Networking :: Program To Assign Globa LIPv6 Address And Bind() To The Previously Assigned Address?Apr 24, 2010
Consider the following program:
Consider the following program:
I have a small cluster (OSCAR, Fedora 8) and I was able to run some application software on it. Then lightning struck very close to the building. Fortunately I had unplugged all the power cables (because the cluster has not yet been moved to where the power lines are protected), but it seems that the institution didn't have any protection on their LAN cables, and so the whole building's public network cards are damaged. A costly lesson.
Anyway, when I tried to run the application software in parallel across the cluster (using the private network which is unscathed) I get the error message given in the subject line. I contacted the application software's help department as I thought I had perhaps forgotten to set something, but according to them it is a normal network problem.
Check the /etc/hosts file and make sure that the nodes all have a single definition and you don't have lines like
127.0.0.1 localhost normnode3
and that normnode3 has the same address both on the master and on the node. try ping normnode3 from the master and see what address comes back 64 bytes from 188.8.131.52: icmp_seq=1 ttl=64 time=0.306 ms or is it 127.0.0.1. Then do the reverse. Also double check that you can ssh between nodes without password but I would expect a different error then. The command "hostname" returns gnlserv01, which is the public NIC.
After the lightning I had trouble getting the nodes to communicate "automatically" with each other, but it can be cured by starting the xinetd service and disabling the firewall on the master node (it's not too dangerous since I don't have a public interface at present and since I'm sitting behind the institution's firewall as well.) Just by the way, I would think that ther should be a file somewhere in which I could specify those two commands to take place when the master node is switched on. Could you perhaps enlighten me as to where and how I could specify it?
I was wondering whether I would need to explicitly start a bind-type service or something like that? (Since I had to explicitly start xinetd) I'm rather clueless really. I googled around and found that there is a named service, so I tried to start it, but I don't think it's installed on the computer. Therefore, since I have managed to run the application software in parallel previously, the named service is probably not the problem. Here is a copy of how my /etc/hosts file looks like:
# Do not remove the following line, or various programs
# that require network functionality will fail.
# These entries are managed by SIS, please don't modify them.
127.0.0.1 localhost.localdomain localhost
how to assign a address to my ethernet card all the options availableView 1 Replies View Related
I have a few external IP's assigned to me by my ISP. I have IPcop as my router/firewall. I am wondering how to bind 1 of my external ip's to my internal ip address. So I do not have to port forward, etc. For Example, 184.108.40.206 to 192.168.1.123 and on the server it see's the external IP address.View 2 Replies View Related
I dont know for what reason, since 2 days, I started having this message whenever I try to start httpd.I commented "Listen 443", restarted httpd started correctly. I needed to comment "listen 443" in order to be able to start httpdWhat is strange is when I do
telnet mylinux 443
I dont know for what reason, I started having this message whenever I try to start httpd.
I commented "Listen 443", restarted httpd started correctly.
I issued "lsof -iTCP:443", I get
I can not understand where this come from and why. It seems that it is IPV6 protocol which is in fact not enabled on the network card.
Also, I can not find or dont know where 443 is configured apart from ssl.conf or httpd.conf
Today, I have added xrdp applications in order to be able to connect using RDP.
(98)Address already in use: make_sock: could not bind to address 0.0.0.0:80 no listening sockets available, shutting down. Unable to open logs
I am new to apache2 server i have been trying to start the server using the default httpd.conf file provided in the source code but when i give the following command sudo /usr/local/apache/bin/apachectl start i receive the above error and the server shuts down.
i have followed web site [URL] for MAC to IP bind but it dont work on my system
acl manager proto cache_object
acl localhost src 127.0.0.1/32
acl to_localhost dst 127.0.0.0/8
After upgrading centos from 5.3 to 5.4 I have had this error when trying to restart apache:
[root@server1 conf]# apachectl stop
httpd (no pid file) not running
[root@server1 conf]# apachectl start
(98)Address already in use: make_sock: could not bind to address [::]:80
I did the following to resolve:
fuser -k -n tcp 80
Then I restarted apache just fine.
I have set up a cloud (Ubuntu) environment in my test lad and it's working fine I am confused setting up the public IP in the production environment. The cloud instance will get only a Internal IP address ( Private) we cannot bind the Public Ip to the cloud instance as it uses Elastic IP, so I am confused how can I set up this if I have about 250 Public Ip to 250 cloud instance. How will I map this 250 Public IP with the 250 internal IPs is there any hardware device.View 3 Replies View Related
i have a xeon machine with ubuntu os machine specification is 3gb RAM 3 scsi hard drives each 73gb it have two ethernet cards one ethernet card is connected with adsl modem and the second is connected with LAN. now what is mikrotik doing for me is control access to bind mac adress with ip adress and control the band width for induvisual conection.View 2 Replies View Related
I am a certified newbie into linux. I am using now ubuntu 9.04. Now here is my question. Is it possible to assign your own IP address on your ubuntu desktop, I mean a fixed IP address? Because everytime I start my computer, my internet service provider will automatically assigned a NEW IP address to my computer, but when I'm on windows the ip address is fixed.
I've installed and configured lampp and joomla. I am trying to learn how to use the joomla under ubuntu using only my computer as my local host. But when I restart my computer, the IP Address that is assigned is different to what I used when I installed joomla so I cant access my website even if I am using the same computer when I installed it. Is it possible to assign a fixed IP Address to my computer under ubuntu.
I am running Linux AS4 Update version. I have one lan card and the primary IP-Address is 192.168.0.215 & subnet is 255.255.255.0
Now I want to assign an alternative IP-Address on the same card & the IP I want to assign is 192.168.15.215.
I run the following command from root user:
Now when I ping this IP 192.168.15.215 From Windows machine then its reply me & properly reply comming from this Ip.
But when I want to access this Ip by \192.168.15.215 from run prompt then it gave me error. The specified network name is no longer available..
I already restart the machine & network service but the problem remains same.
I recently just upgraded from humble Linux user to confused Linux admin of my own virtual Linux server. When I issue the ifconfig command I get following output.
venet0:0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
inet addr:220.127.116.11 P-t-P:18.104.22.168 Bcast:22.214.171.124 Mask:255.255.255.255
UP BROADCAST POINTOPOINT RUNNING NOARP MTU:1500 Metric:1
The WAN IP of the interface is not really 126.96.36.199 I just changed that IP for security reasons.What I am trying to figure out, is it possible to assign a private IP address to the same interface or can I only have one IP address per interface. I understand I have a mask of /32 so I am not going to be able to subnet the address to create any more addresses, so I assume I am stuck with the WAN IP (public IP) that I have, and just need to deal with it.
The reason I ask this is because I have been reading through several DNS/BIND tutorials/walk-throughs, and a lot of them specify setting up a intranet access with 192.168.1.1 address for the local DNS server, but since I am connecting to the sever via SSH I figure I do not need a private IP address.
I noticed that my internet connection wasn't automatically brought up each time I logged into Fedora so I opened the system-config-network tool and edited my network adapter by checking the box marked "automatically start at boot/login." To my surprise, the connection went down and upon trying to click on the device to let the manager bring up the connection the greyed-out phrase "device not managed" appeared underneath the device name and wouldn't allow me to connect.
Even when I used ifconfig/dhclient to get the connection up nothing happened. I could get the router to assign an IP address through DHCP, pinged a few sites to make sure it was legit, but still couldn't use firefox to browse anything. Seems as if network manager GUI is conflicting with command line attempts to bring the network up. I'd like to permanently disable system-config-network if possible because it's acting screwy!
I'm using Ubuntu 9.10, and I want DHCP to assign an IP address automatically. I can ping my router, and get a reply. I just have no idea how to do this.I'm trying to get my Ubuntu machine onto my Windows network.View 9 Replies View Related
I want to setup 1Gbps our lab network and we purchased 'Buffulo Giga layer switch ' with 24ports. Is there a way to tell DHCP to assign specific IP to a particular MAC address of a machine ? We want to use DHCP and whatever the port we use ,it should have same IP ..View 1 Replies View Related
I have an Ubuntu 10.04 server/router with IPv6 internet connectivity (I have an internet routable /64 subnet). Since I have this abundance of IPv6 addresses I wanted to try and assign v6 addresses to specific users on the local system. I've been looking at ip6tables with packet mangling but I don't seem to be able to find out how to do this or if this is even possible.
Current configuration: eth0: Local network, has the /64 IPv6 public range active and the IPv4 LAN range. tun0: 6in4 tunnel with a ISP assigned public v6 address. eth1: Standard IPv4 internet connection.
All users on my system use the v6 address configured on tun0. I want to force them to use the /64 range which is configured on eth0. If I can force users to use a specific v6 address, I'll configure more then one v6 address on this interface based on the users userID on the system.
I am currently trying to get a B.A.T.M.A.N mesh network up and running. the thing uses UDP port 4305 for broadcasting to nearby nodes and it seems this port is closed or used by something else.
now i have tried to open this port with commands like
iptables -A INPUT -p udp --dport 4305 -j ACCEPT
iptables -A OUTPUT -p udp --dport 4305 -j ACCEPT
it still gives me the same error saying the socket cannot connect.any way for me to scan that udp port, see what is blocking it and open the thing up ?
I have two network interfaces in my pc eth0 and wlan0 and a virtual one br0.
router <= eth0 (0.0.0.0) => br0 (192.168.1.10) <= wlan0 (0.0.0.0) => other pc.
On startup of my pc (ubuntu 10.04 server x64), samba bind itself only to loopback network interface, as i can see when i do netstat -an , preventing me to enter in my shares from a remote pc.
Here is my configuration regarding samba network:
interfaces = 127.0.0.0/8 192.168.1.0/24
bind interfaces only = yes
and my /etc/network/interface
# The loopback network interface
iface lo inet loopback
Any idea fo speed up my bridge configuration or to force samba to wait unitl the bridge is ready?
i know exactly what i need to do, im just not familiar enough with command line to do it properly.i have 7 computers.the first 4 are connected to a router via wireless at one end of the house. of the last 3 only 1 will be able to access the router via wireless, so it needs to share it's one wireless connection via ethernet. this computer i'm going to call 'server'server will have two IP'swlan0 192.168.1.6 this connects to the router that has internet access.eth0 i intend to have the following settingsip:192.168.0.1sub: 255.255.0eth0 will connect to a second router, where the cat5 cable goes from the server, into the internet port of the router where i will define the router's static IP:IP: 192.168.0.100sub: 255.255.255.0gateway 192.168.0.1i have then set the router IP for LAN handling as 192.168.27.1 and all ethernet connections will have a 192.168.27.x IP.
so i need to know how to, without a gui application, use the terminal to assign server eth0 a proper IP address, and tell the server to take the connection it has and share it through eth0 to supply internet for the last 2 computers via ethernet.i had it set up in this way with a windows machine being the one that had the wifi access, but i'd rather have it setup for the ubuntu server to do this task. security is imperative for these 3 remaining machines, so just getting 2 more wifi adapters for a connection to the initial router isn't an option.the 2 that connect to server do so through SSH and though server IS connected via wireless it only makes outward connections through
I am having difficulties in establishing a vpn connection using vpnc (or NetworkManaager-vpnc).
As long as the openswan IPsec daemon is running, vpnc-helper quits with the error message
Failed to bind to 0.0.0.0:500: Address already in use
[user@computer ...]# vpnc-helper --local--port 0
If I use NetworkManager-vpnc, then establishing the connection simply fails.
Using the --local-port 0 option does not change anything.
If I stop the ipsec service (service ipsec stop) then establishing the connectiong works, both with NetworkManager-vpnc and the console tool, but apparently the network traffic is not routed via the VPN - in my case this means that I cannot access hosts within the vpn and stuff.
Funny thing is - on my notebook from where I connect via WLAN, everything works fine. With Fedora 13 everything works fine, too.
Does anybody have an idea how to enforce that the vpn connection is actually used?
I have 2 PCs, each running Oracle VirtualBox with about 30VMs installed and standing on the same table
On shopping router I found TP-Link
150Mbps Wireless N Router
How can it assign 30 IP address to each PC?
I'm stumped here as it seems like after an update etho:0 has assigned itself 2 x IP Addresses. I don't understand how this happened or how to fix it so some help would be great as I cannot access cPanel while it's like this or my sub directories.Here is a print of ifconfig
eth0 Link encap:Ethernet HWaddr AA:01:5F:9A:FE:26
inet addr:188.8.131.52 Bcast:184.108.40.206 Mask:255.255.255.255
I have two machines
1. Ubuntu (static IP 192.168.1.1, running dhcp server)
2. Windows 7 (dhcp assigned IP based on mac - >192.168.1.2)
Now when I fire up both machines, Linux assigns IP to win BUT they dont ping. From ifconfig I know:
eth2 Link encap:Ethernet HWaddr 00:1b:21:7b:2d:68
inet addr:192.168.1.1 Bcast:192.168.1.3 Mask:255.255.255.252
inet6 addr: fe80::21b:21ff:fe7b:2d68/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Now I get time exceeded icmp every time I try to ping both from linux OR windows...
I would like to create several aliases to eth0, but have the addresses assigned by DHCP instead of being set to static IP's. Is this even possible? All the examples I've seen assign a static IP using the command:
ifconfig eth0:0 192.168.1.11 up
How to find the Address which is already in 2632 port?View 1 Replies View Related
I am just trying to get SSH working between 2 local machines on OpensSuse 11.4 boxes. I have the SSHD daemon running, the firewall is configured to allow SSH to pass, and I am using SSH's password authentication. However, my machines cannot see each other. Anytime I try to SSH, I get "Could not resolve hostname<hostname>: Name or service not known."
Of course, that leads me to believe I need an entry in my /etc/hosts file. However, I use DHCP, and therefore have a dynamic IP address. Therefore, my hosts names will only be good until the next IP renewal. How in the world do I configure SSH with a DHCP assigned address?
I have a fresh installed redhat 9 with 1 network card attached may I know what command will I type to assign 10.0.0.1 on the network card?
and also when I type hostname it always reply localhost.localdomain
how can I assign a hostname
Currently my OS is Ubuntu 9.04 Jaunty Jackalope Desktop OS and my web server is Apache2. I have a public address 60.x.y.z and my pc local address is 10.x.y.z. I have a web app in my Apache2 which currently run in localhost(10.x.y.z).
I would like to enable the web app so that it could be browse from outside. I know there maybe some port forwarding process and some commands involved in order to do that. But I have no idea on the steps to do that.