OpenSUSE Network :: Assign IPv4 And IPV6 Static Addresses?

Feb 19, 2010

How do I assign IPv4 and IPv6 static addresses permanently in OpenSUSE 11.2? Currently I am only able to assign either IPv4 or IPv6 static address not both. I cannot find even the interfaces file(/etc/sysconfig/network/interfaces).

View 2 Replies


ADVERTISEMENT

General :: Use Ipv6 To Access Website While Only Ipv4 Is Supported In Network?

Feb 6, 2011

I'm using Ubuntu Linux as my operating system.In my network only the ipv4 is suported, and I need to access some website through ipv6. How can I do it, is there a way to tunnel from the ipv4 to ipv6.

View 2 Replies View Related

Ubuntu Servers :: Bind9 Attempting Ipv6 On Ipv4 Network

Oct 29, 2010

After upgrading from 9.10 to 10.04, a hundred or so of (for example)

Code:
error (network unreachable) resolving '14.42.117.203.in-addr.arpa/PTR/IN': 2001:500:13::c7d4:35#53: 1 Time(s)

messages appear in syslog each day. Each URL has from 2 - 6 attempts at various ipv6 addresses. My question is why is bind9 trying to resolve ipv6 addresses? I have done nothing to enable or disable ipv6 and thought that if not explicitly enabled I would not have to be concerned with it.

View 1 Replies View Related

Fedora Networking :: Configuring IPv6 (network) Tunnelling - Getting Only Internal Addresses From DHCP

Aug 25, 2011

I am trying to configure my IPv6 network. My computers are behind a Fedora gateway IPv6-configured, which is working great. But for computers inside my network, it seems I am getting only internal addresses from DHCP. Here is my ifconfig for an internal computer:

Quote: em1 Link encap:Ethernet HWaddr F4:6D:04:34:92:2B inet addr:192.168.0.184 Bcast:192.168.0.255 Mask:255.255.255.0 inet6 addr: fe80::f66d:4ff:fe34:922b/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:744250 errors:0 dropped:0 overruns:0 frame:0 TX packets:548987 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:841392242 (802.4 MiB) TX ytes:60384500 (57.5 MiB) Interrupt:18 Memory:f7100000-f7120000

he-ipv6 Link encap:IPv6-in-IPv4 inet6 addr: 2001:470:1c:611::3/64 Scope:Global inet6 addr: fe80::cea7:b778/128 Scope:Link UP POINTOPOINT RUNNING NOARP MTU:1480 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:61 dropped:0 overruns:0 carrier:61 collisions:0 txqueuelen:0 RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

[Code]....

View 2 Replies View Related

Ubuntu :: 10.04 Static IP Addresses Using Network Manager?

May 2, 2010

I have four PC's in a home network setup, no server just peer to peer using ssh. I have tended to use wicd to set static IP addresses because Network Manager didn't always perform as I thought it should. Now that I have installed 10.04 I cannot see how to set static addresses using Network Manager so I installed wicd, and disabled Network Manager. After setting the address with wicd it shows that the computer is connected to the internet however I cannot get internet access, though I can network with my other computers. I've uninstalled and reinstalled a few times just to check that I haven't been careless but the results are still the same.

View 8 Replies View Related

Debian Configuration :: Setting Up NAT And Firewalling For Both IPv4 And IPv6

Mar 21, 2010

setting up NAT and firewalling for both IPv4 and IPv6. The machine is headless, so everything must be configured via CLI. I've done all IPv4 firewall configuration writing iptables rules in a bash script so far

View 1 Replies View Related

General :: Configuring IPv6 Automatically And IPv4 Statically?

May 6, 2011

I've got a Ubuntu Linux box that has two IPv4 addresses and an IPv6 address. This is my current /etc/network/interfaces:

auto lo
iface lo inet loopback
auto eth0 eth0:0

[code]....

View 1 Replies View Related

Ubuntu :: Processes Listening To Ports / Ipv4 | Ipv6 Only

Jul 3, 2011

I'm running a native dual-stack (ipv4 & ipv6) dsl connection.So, I've been adding firewall rules, cleaning up unwanted processes, etc to tighten security.I'm left with only 3 processes that are listening to ports. mysql, ipp & ssh.Still not quite sure I need mysql. I run Amarok but without using a database, so I don't actually use sql for anything that I'm aware of.Anyway, my question is;Is it possible to make any any of these processes listen to ipv4 only or ipv6 only? Is there a distinction there at all?

Example- ssh is currently listening to port 22 on both tcp & tcp6. I do all my ssh connections using 'ssh -6', so, Can I make ssh listen to tcp6 only, or ignore tcp ?

View 3 Replies View Related

Ubuntu Networking :: Apache Binds To Ipv6 But Not To Ipv4?

Sep 1, 2011

On my 10.04 LTS Ubuntu Server installation, apache2 doesn't bind to ipv4. It does bind to ipv6. I didn't notice this at first, because from my home connection I could visit the webpages without trouble. I noticed it running netstats -ta:

Code:
tcp 0 0 localhost:10024 *:* LISTEN
tcp 0 0 localhost:10025 *:* LISTEN
tcp 0 0 localhost:mysql *:* LISTEN
tcp 0 0 localhost:spamd *:* LISTEN

[Code].....

View 2 Replies View Related

Networking :: Enable Duel Ipv4 / Ipv6 Stack On System?

Mar 12, 2010

How do you I use duel stack i.e How do I use ipv6 packet inside ipv4 packet using fedora kernel 12 ?

View 1 Replies View Related

Networking :: Multiple IPV4 Addresses Not Working After Boot

Oct 15, 2010

Fedora 12 running under VirtualBox 3.2.8 w/ Bridged networking
Host OS Windows 7

I have 3 IP addresses set up in on my Fedora 12 installation:
Directory: /etc/sysconfig/network-scripts/
ifcfg-eth0 -> 192.168.0.170
ifcfg-eth0:0 -> 192.168.0.171
ifcfg-eth0:1 -> 192.168.0.172

Hostname is configured to host associated with 192.168.0.170 in /etc/hosts

When I reboot and execute
# ifconfig

eth0 is associated with the 172 address and the other addresses are not active. After I run
# service network restart

All of the addresses are active and associated with the correct interfaces. Content of my ifcfg files below:

/etc/sysconfig/network-scripts/ifcfg-eth0 :
Code:
# Intel Corporation 82540EM Gigabit Ethernet Controller
DEVICE=eth0
HWADDR=08:00:27:0A:9D:24
ONBOOT=yes
TYPE=Ethernet
BOOTPROTO=none
IPADDR=192.168.0.170
PREFIX=24
DNS1=192.168.0.1
NAME="System eth0"
UUID=5fb06bd0-0bb0-7ffb-45f1-d6edd65f3e03
GATEWAY=192.168.0.1
IPV6INIT=no
USERCTL=no
NM_CONTROLLED=yes
/etc/sysconfig/network-scripts/ifcfg-eth0:0 :

Code:
# Intel Corporation 82540EM Gigabit Ethernet Controller
DEVICE=eth0:0
TYPE=Ethernet
BOOTPROTO=none
IPADDR=192.168.0.171
PREFIX=24
DNS1=192.168.0.1
NAME="System eth0"
UUID=5fb06bd0-0bb0-7ffb-45f1-d6edd65f3e03
GATEWAY=192.168.0.1
IPV6INIT=no
USERCTL=no
ONPARENT=yes
NM_CONTROLLED=yes
ONBOOT=yes
/etc/sysconfig/network-scripts/ifcfg-eth0:1 :

Code:
# Intel Corporation 82540EM Gigabit Ethernet Controller
DEVICE=eth0:1
TYPE=Ethernet
BOOTPROTO=none
IPADDR=192.168.0.172
PREFIX=24
DNS1=192.168.0.1
NAME="System eth0:1"
UUID=5fb06bd0-0bb0-7ffb-45f1-d6edd65f3e03
GATEWAY=192.168.0.1
IPV6INIT=no
USERCTL=no
ONPARENT=yes
NM_CONTROLLED=yes
ONBOOT=yes
After booting:

Code:
# ifconfig

eth0 ....

Restart network:
Code:
# service network restart
. . .
# ifconfig

eth0 ....

eth0:0 ....

eth0:1 ....

View 3 Replies View Related

Ubuntu Servers :: Modify Apache IPv4 Configuration To IPv6 Config?

Feb 25, 2011

I want to modify apache IPv4 configuration to IPv6 configOn both windows and ubuntu.

View 1 Replies View Related

OpenSUSE Network :: Connect To Servers Via Ipv4

Jun 8, 2011

Is there a way to access today the openSUSE servers via IPv4? My ISP does not support ipv6, nor my router, and I can't install software right now in openSUSE, because it wants to access te servers via IPv6.

If would be grat to have the download.opensuse.org ipv4 address.

I really need to install some packages, they are required for my school project.

View 9 Replies View Related

OpenSUSE Network :: IPv4 Entry For Localhost Missing In 11.4?

Jun 28, 2011

I had some fun here, with my local Cyrus IMAP daemon. I "updated" the machine to openSuse11.4 (from 11.2) by doing a fresh install. Because some of my involved HW here isn't capable of IPv6, I switched it off using yast2:
Netzwerkgeräte/Netzwerkeinstellungen [my translation: Network devices / Network Settings] Globale Optionen [global options] Removed the mark on "IPv6 aktivieren" [activate IPv6]

Then I had a hard fight with Cyrus IMAPd, mostly caused by user brain damage on my part... But one thing really looks like a problem on the Suse side of the fence: My /etc/hosts missed the "localhost"-entry for IPv4 ! This was the contents:

Code:
# special IPv6 addresses
::1 localhost ipv6-localhost ipv6-loopback
127.0.0.2 godot.site godot

[Code].....

I haven't seen this effect on 11.2 here and I haven't seen it on "my other" machine (running 64 bit version of Suse 11.4). But there I think IPv6 is still activated. I will check this, as soon as I get there.

Should this be reported as a potential bug in 11.4 ? Or is there some way, I could have messed up this. (No I didn't edit /etc/hosts by hand, before I corrected this thing)

View 2 Replies View Related

Fedora Networking :: How To Assign Two IP Addresses To One NIC

Jul 29, 2009

I have connected my computer to network. Computers in network have dynamic ip address which is assigned by ADSL modem's DHCP. Besides this I want to have static IP address for same NIC. So is it possible to have both static and dynamic IP address for single NIC? If so how can I assign it using command and also in GUI?

View 7 Replies View Related

Ubuntu Networking :: IPv6 Addresses Cannot Be Assigned

Sep 18, 2010

I'm trying to assign like 80 IPv6 addresses on eth0 for virtual webhosting, but after 55 addresses I get the following error:# ip addr add 2a01:9f8:a171:1651::4b:a8af dev eth0 RTNETLINK answers: File exists.What's the problem? I don't understand that error message at all. Is the number of IPv6 addresses per device somehow limited?Ubuntu 10.4.1 server, 64 bit.

View 1 Replies View Related

Networking :: Unable To Get IPv6 Addresses Using Ioctl()

Feb 4, 2011

I am able to retrieve IPv4 addresses with ioctl. But it is not returning IPv6 addresses. My requirement is to get both IPv4 and IPv6 addresses. I can not use getifaddrs() since it has to be common code between linux, solaris and aix. Solaris and AIX are not having getifaddrs(). Following code is returning only IPv4 addresses.

Code:
#include <sys/types.h>
#include <sys/socket.h>
#include <sys/ioctl.h>
#include <netdb.h>

[Code]....

View 1 Replies View Related

Ubuntu Networking :: Assign An IPv6 Address To Separate Users?

Apr 15, 2011

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.

View 2 Replies View Related

General :: Assign IPV6 Address Using IOCTL System Call?

Jul 22, 2011

Please send me the code how to assign ipv6 address using ioctl system call using C.

View 1 Replies View Related

Ubuntu Security :: Set A Rule In Iptables, Does That Rule Also Apply To Ipv6, Or Just Ipv4?

Jul 16, 2010

Question (and Google results aren't making this clear): Ubuntu has both iptables & ip6tables installed. 1. If I set a rule in iptables, does that rule also apply to ipv6, or just ipv4?

2. If "no" to above, then it would be prudent to *also* set ip6tables rules as well if I want to maintain an active firewall, correct?

3. Does ip6tables rules have the same syntax and behavior (more or less) to iptables rules - i.e. can I just copy my iptables rules & change "iptables" to "ip6tables"?

4. Any gotchas or issues that I should be aware of?

View 9 Replies View Related

Networking :: Support 50K IPv6 Addresses On A Single Machine?

Feb 2, 2010

Does anyone know if there is any way to configure 50K "virtual" IPv6 addresses on loopback device in Linux?
The aim is not to add all 50K IPv6 addresses one by one on the loopback/ETH device which will probably mess up the ip table on the system. In IPv4, I am able to achieve that by specifying the IP address subnet on loopback device (e.g: "ip addr add 10.1.0.0/16 dev lo"). The same command does not seem to work the same way for IPv6. It only adds a single IPv6 address on loopback device and it automatically adds an "unreachable route" entry on the ipv6 route table for that IPv6 network prefix.

The reason I need this is because I am working on an application which tries to simulate 50K IPv6 addresses on a single Linux box. The kernel version I am currently using is RHEL 2.6.9.55.

View 6 Replies View Related

Networking :: Sending / Receiving Between Two Systems Using IPv6 Addresses

Mar 8, 2010

We have connected two systems with ethernet cables and have configured the two systems with ipv6 addresses. The IP of one system is 2001:0db8:0:f101::1 (let's say X::1) (This system runs OS Fedora 10) and the other is 2001:0db8:0:f101::2. (Let's say X::2) (This system runs OpenSuSE 10.3) We are able to ping from both systems to the other. We are able to ssh into the one with IP X::2 from the one with IP X::1, but not vice versa.

We have disabled iptables on both systems by using the following commands:
/etc/init.d/iptables save
/etc/init.d/iptables stop
on the fedora 10 system and
# iptables -X
# iptables -t nat -F
# iptables -t nat -X
# iptables -t mangle -F
# iptables -t mangle -X
# iptables -P INPUT ACCEPT
# iptables -P FORWARD ACCEPT
# iptables -P OUTPUT ACCEPT
on the openSuse system.

The error we get in trying to ssh from the openSuse system to the fedora system is:
ssh: connect to host 2001:0db8:0:f101::1 port 22: Connection refused

We're trying to write server and client code to send data from one system to the other using SOCK_DGRAM. The code works fine when we run both the client and server on the same system. However, we are not able to send data from one system to another when we use the IPv6 addresses to run the client and server programs.

The error we get is:
sendto(): Operation not permitted

The codes we are using for the server and client programs can be found here in beej's guide here : [URL]. We've only substituted the appropriate addresses in the right places... We've disabled the iptables...

View 1 Replies View Related

Networking :: Make Practical Use Of Link Scope IPv6 Addresses?

Jun 23, 2010

I am trying to use link scope IPv6 addresses to permit two machines to connect using IPv6, but I cannot figure out how to do it without specifying the interface to use on every connection. Here is an example ping:

[root@ppatel-brn1 ~]# ping6 -c 3 fe80::204:75ff:feb6:2994
connect: Invalid argument
[root@ppatel-brn1 ~]# ping6 -c 3 -I eth0 fe80::204:75ff:feb6:2994
PING fe80::204:75ff:feb6:2994(fe80::204:75ff:feb6:2994) from fe80::214:22ff:febd:7c1f eth0: 56 data bytes
64 bytes from fe80::204:75ff:feb6:2994: icmp_seq=0 ttl=64 time=0.836 ms
64 bytes from fe80::204:75ff:feb6:2994: icmp_seq=1 ttl=64 time=0.286 ms
64 bytes from fe80::204:75ff:feb6:2994: icmp_seq=2 ttl=64 time=0.280 ms

[Code]...

View 3 Replies View Related

Networking :: Dhcpd3 Doesn't Assign Proper Addresses To Vlan Subnets

Oct 22, 2009

I have dhcpd3 running but it does not seem to properly use my vlan subnets to assign addresses.

I have eth0.10, eth0.20, eth0.30, eth0.40, eth0 all declared with proper ranges, subnets and gateways.

If request an address in on eth0.30, I would think that it should use the range associated with this subnet (ie eth0.30 is 10.10.30.10/24) and this is setup in dhcpd3, but this is not the case.

It seems to use the first declared subnet instead. If I comment the first subnet out, it uses the second one properly.

View 3 Replies View Related

Ubuntu :: Assign A Static Ip Address?

Jun 13, 2010

I want to assign a static ip address, my network/interfaces files shows

Code:
auto lo
iface lo inet loopback

am I correct to add

Code:
iface eth0 inet static
address 10.42.43.10
netmask 255.255.252.0
gateway 10.42.43.1

or is there more I need?

View 4 Replies View Related

Ubuntu Servers :: Assign Static IP Or DNS Name?

Nov 27, 2010

I have installed a ssh server on a computer (Ubuntu 10.04). This computer will be reboot many times, so the IP address is going to change. As a result, I couldn't connect with an other computer on this server via ssh. That's why I search a solution: either I assign a static IP on my server computer or I heard that I could use a dns name. I don't know if the latter solution is good so I hope to have some precisions. Also, I tried to have a static IP by editing the file : /etc/network/interfaces but it doesn't work.

View 5 Replies View Related

Ubuntu Networking :: Can't Assign Specific Static Ip

May 25, 2011

Using Ubuntu Server maverick here - after altering /etc/network/interfaces to use a static ip and checking /etc/resolv.conf (no alteration needed) no network services were working at all. Here are the contents of interfaces:

Code:
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
address 192.168.1.100
netmask 255.255.255.0
broadcast 192.168.1.0
gateway 192.168.1.254

I was fairly certain that this was verbatim from my previous server which is no longer attached to the network. After hours of fooling around with no success I changed the address to 192.168.1.99 and it worked perfectly. So my question is: why? My old server used 100. Could the router refuse to give a new server the same address or something like that since that address had been taken in the past?

View 1 Replies View Related

CentOS 5 Server :: Trying To Assign Static IP Address

May 1, 2010

i am trying to assign a Static IP address and for the life of my i cannot get it to work Can someone explain to me the easiest way to do it and if i restart the server it won't get lost either.

View 1 Replies View Related

CentOS 5 :: Assign A Server A Public Static IP?

Jul 19, 2011

How would you assign a server a public static IP ?

Ok.. I guess to better ask my question... how to assign server public static IP centos? Like for example I am in the router itself.. where would I go to point ip 44.33.33.21. to ?> 192.168.1.4

What would be the most common in the routers?

View 7 Replies View Related

CentOS 5 :: Assign A Server Public Static IP?

Jul 23, 2011

I am running a modem in bridge mode to my server

I edit file /etc/sysconfig/network-scripts/ifcfg-eth0 code...

I do service network restart and get nothing ? No connection... Are there other files I need to edit?

View 12 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved