2 ip from one subnet my isp


 
Thread Tools Search this Thread
Special Forums IP Networking 2 ip from one subnet my isp
# 1  
Old 10-13-2010
2 ip from one subnet my isp

Hi. my english is not so good. sorry.
i have some problem. My isp give me second ip from subnet. One network is working, but secong don't.
  • fxp0 - my network
  • dc0 - network isp (that working)
  • re0 - network isp (don't working)
i try use ng_one2many, but it's don't working
Code:
 ngctl mkpeer dc0: one2many upper one
ngctl connect dc0: dc0:upper lower many0
ngctl connect re0: dc0:upper lower many1
ngctl msg re0: setpromisc 1
ngctl msg re0: setautosrc 0

ngctl msg dc0:upper setconfig "{ xmitAlg=1 failAlg=1 enableLinks=[ 1 1 ] }"

after last command freebsd say me "ngctl: send msg: No such file or directory"
Code:
kldstat -v | grep ng
                356 ng_socket
                357 ng_tee
                355 ng_mppc
                354 ng_ether
                187 pci/nge
                186 nge/miibus
 4    1 0xc351d000 4000     ng_iface.ko
                453 ng_iface
 5    1 0xc3538000 7000     ng_ppp.ko
                454 ng_ppp
 6    1 0xc3541000 6000     ng_pppoe.ko
                455 ng_pppoe
 7    1 0xc3800000 3000     ng_one2many.ko
                456 ng_one2many
 8    1 0xc38b2000 3000     ng_eiface.ko
                457 ng_eiface

Code:
ifconfig
fxp0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
        options=8<VLAN_MTU>
        ether 00:13:d4:32:8e:00
        inet 192.168.2.77 netmask 0xffffff00 broadcast 192.168.2.255
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
dc0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
        options=8<VLAN_MTU>
        ether 00:80:ad:77:57:59
        inet 10.10.30.37 netmask 0xffffff00 broadcast 10.10.30.255
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
re0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500
        options=389b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_UCAST,WOL_MCAST,WOL_MAGIC>
        ether 00:15:e9:ef:4a:19
        inet 10.10.30.168 netmask 0xffffff00 broadcast 10.10.30.255
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4
        inet6 ::1 prefixlen 128
        inet 127.0.0.1 netmask 0xff000000
ng0: flags=88d1<UP,POINTOPOINT,RUNNING,NOARP,SIMPLEX,MULTICAST> metric 0 mtu 1460
        inet 93.88.130.хх --> 93.88.128.хх netmask 0xffffffff

Code:
netstat -rn
Routing tables

Internet:
Destination        Gateway            Flags    Refs      Use  Netif Expire
default            93.88.128.хх      UGS         0 21719603    ng0
10.0.0.0/8         10.10.30.1         UGS         0    50284    dc0
10.10.30.0/24      link#2             UC          0        0    dc0
10.10.30.1         00:12:00:95:a3:80  UHLW        2        4    dc0   1188
10.10.30.37        00:80:ad:77:57:59  UHLW        1      140    lo0
93.88.128.хх       93.88.130.хх       UH          1        1    ng0
127.0.0.1          127.0.0.1          UH          0       95    lo0
192.168.2.0/24     link#1             UC          0        0   fxp0
192.168.2.7        00:1d:60:e3:f5:0a  UHLW        1   382966   fxp0   1183
192.168.2.17       00:11:5b:79:8a:54  UHLW        1       30   fxp0    348
192.168.2.33       00:1c:c0:a5:61:6b  UHLW        1    84915   fxp0   1157
192.168.2.166      00:24:01:09:d9:26  UHLW        1  3423522   fxp0   1173

May be somebody have a idea how use 2 dc0, re0 with ip 10.10.30.xx and one gate 10.10.30.1 ?
Login or Register to Ask a Question

Previous Thread | Next Thread

7 More Discussions You Might Find Interesting

1. Proxy Server

ISP VPS, routing traffic

Hi guys I need to setup server/router in my firm. We got from our ISP dedicated server in their data center. It has a static IP and it servers as replacement for out DSL connection. I configured our internal server to be border gateway and to connects to data center. "Remote" admin installed... (0 Replies)
Discussion started by: solaris_user
0 Replies

2. IP Networking

Multiple isp physical connection

Hello all my friends see picture to understand my problem http://www.imageurlhost.com/images/8mf8ni4btu6r4qy1rp9_Networking-photo.png i want to know that how my company can connect multiple isp via switch and output from switch is directly connected to linux firewall. Any help Thanks (1 Reply)
Discussion started by: rink
1 Replies

3. IP Networking

Migrating existing Subnet to a new subnet and changing ip addresses in UNIX

Hi, My project needs to migrate the existing Subnet (255.255.255.0) to a new subnet and change the ipaddresses (currently C class). How can I do that. I need some information. John (0 Replies)
Discussion started by: johnmarsh
0 Replies

4. Solaris

Problems connecting Solaris 10 to network via ISP

I have just installed Solaris 10 (x86) on my PC, which is connected to an ISP via a Netgear DG834G firewall/modem router. I can't find the network. My router has the IP address 192.168.0.1 and my ISP assigned IP address is 214.159.X.Y I have edited various files based upon information I have... (7 Replies)
Discussion started by: christian_hicks
7 Replies

5. UNIX for Dummies Questions & Answers

schedule dial-out different ISP's

Hi, I'm running user ppp on FreeBSD. I have an internet account which gives me the oppertunity to login for free (say €25 a month :)) during specific hours. Outside these hours I pay the normal fee. I also have another ISP which gives me the oppertunity to log in for a reduced fee all times. ... (2 Replies)
Discussion started by: Hansaplast
2 Replies

6. UNIX for Dummies Questions & Answers

Cannot connect to my ISP

I'm totally frustrated, my administrator has left the state and me high and dry! My modem cannot connect to my ISP all it does is start to ping and the a high pitched squeal for about a minute. I have logged on as the "root" in hope to get into my /etc/ppp/ppp.conf file however I get a... (8 Replies)
Discussion started by: coolteach
8 Replies

7. UNIX for Dummies Questions & Answers

Linux for an internet server to an ISP

I just moved away from a T3 line back to a dial up I just wanted to know would a P200 with 64meg and a 4 gig hard drive be ok for a linux server for an additional 3 pcs all running win98. I will be dialing into an isp using a 56k v90 modem. Any support or help will be great. (3 Replies)
Discussion started by: izrailov
3 Replies
Login or Register to Ask a Question