You are not logged in.

#1 2007-03-09 10:54:50

vikingr
Member
From: Germany
Registered: 2007-01-02
Posts: 3

help with interface and route configuration

Hi,

I have a virtual private server (VPS) with Debian 3.1 running which I want to
install Archlinux on.

Unfortunately, I get stuck in the networking configuration and cannot connect
the server with my settings.

It would be great if someone could give me a little advice what to type into
the rc.conf so that I have the same networking configuration like I had with Debian.

DEBIAN# ifconfig -a
lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:1230259009 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1631407695 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:1140876388 (1.0 GiB)  TX bytes:1095784005 (1.0 GiB)

venet0    Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00  
          inet addr:127.0.0.1  P-t-P:127.0.0.1  Bcast:0.0.0.0  Mask:255.255.255.255
          UP BROADCAST POINTOPOINT RUNNING NOARP  MTU:1500  Metric:1
          RX packets:1358 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1050 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:555092 (542.0 KiB)  TX bytes:235489 (229.9 KiB)

venet0:0  Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00  
          inet addr:81.169.123.123  P-t-P:81.169.123.123  Bcast:0.0.0.0  Mask:255.255.255.255
          UP BROADCAST POINTOPOINT RUNNING NOARP  MTU:1500  Metric:1
DEBIAN# route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
191.255.255.1   *               255.255.255.255 UH    0      0        0 venet0
127.0.0.0       *               255.0.0.0       U     0      0        0 lo
default         191.255.255.1   0.0.0.0         UG    0      0        0 venet0

Thanks in advance! smile

Offline

#2 2007-03-09 11:21:20

klixon
Member
From: Nederland
Registered: 2007-01-17
Posts: 525

Re: help with interface and route configuration

network settings are in /etc/rc.conf...
Did you set things up correctly there?


Stand back, intruder, or i'll blast you out of space! I am Klixon and I don't want any dealings with you human lifeforms. I'm a cyborg!

Offline

#3 2007-03-09 11:30:26

vikingr
Member
From: Germany
Registered: 2007-01-02
Posts: 3

Re: help with interface and route configuration

klixon wrote:

network settings are in /etc/rc.conf...
Did you set things up correctly there?

Thanks for your reply!

That's my problem - I set it up in rc.conf, but I don't get a connection,
so my config seems wrong.

lo="lo 127.0.0.1"
venet0="venet0 127.0.0.1 netmask 255.255.255.255 broadcast 0.0.0.0"
venet0:0="venet0:0 81.169.123.123 netmask 255.255.255.255 broadcast 0.0.0.0"
INTERFACES=(lo venet0 venet0:0)

net="-net 191.255.255.1 netmask 255.255.255.255 dev venet0"
gateway="default gw 191.255.255.1 venet0"

ROUTES=(net gateway)

Last edited by vikingr (2007-03-09 11:39:10)

Offline

#4 2007-03-09 12:01:47

RaisedFist
Member
From: Romania
Registered: 2007-01-30
Posts: 556
Website

Re: help with interface and route configuration

hmm... two interfaces with the same IP (127.0.0.1)? this is a little problem, I think wink

Offline

Board footer

Powered by FluxBB