Netstat Routing Tables - Strange Destinations and gateways
I went on the Network Utility and ran netstat with the Display Routing Tables option. I got a 3 strange names on the Internet6 section. NO idea what Internet6 is first of all. BUt Destination names like Chicken-Wang.local, Brandon-PC.local and Troll-Toll.local dont seem normal to me.
What the heck are these? (Netstat results below):
Routing tables
Internet:
Destination Gateway Flags Refs Use Netif Expire
default 172.17.104.129 UGSc 148 88 en0
127 localhost UCS 0 0 lo0
localhost localhost UH 1 29 lo0
169.254 link#4 UCS 1 0 en0
asif-khans-macbook 0:1e:c2:ab:48:72 UHLW 0 0 en0 1095
172.16.95/24 link#7 UC 1 0 vmnet8
172.16.95.255 ff:ff:ff:ff:ff:ff UHLWb 0 9 vmnet8
172.16.201/24 link#8 UC 1 0 vmnet1
172.16.201.255 ff:ff:ff:ff:ff:ff UHLWb 0 9 vmnet1
172.17.104.128/26 link#4 UCS 8 0 en0
172.17.104.129 0:30:48:5b:44:51 UHLW 170 1423 en0 1174
172.17.104.139 localhost UHS 0 0 lo0
172.17.104.160 0:18:39:c3:87:37 UHLW 0 0 en0 161
172.17.104.162 0:1e:c2:ab:48:72 UHLW 0 0 en0 1097
172.17.104.167 0:13:a9:1:93:99 UHLW 0 640 en0 1167
172.17.104.177 0:1f:f3:7:4e:30 UHLW 0 0 en0
172.17.104.179 0:15:c5:6b:c6:fe UHLW 0 0 en0 935
172.17.104.189 0:11:24:de:61:34 UHLW 0 5 en0 1177
172.17.104.191 ff:ff:ff:ff:ff:ff UHLWb 0 12 en0
Internet6:
Destination Gateway Flags Netif Expire
default fe80::9ba:d2e0:919 UGc en0
localhost link#1 UHL lo0
fd9e:e709:a8c0:db5 link#1 UHL lo0
fe80::%lo0 localhost Uc lo0
localhost link#1 UHL lo0
fe80::%en0 link#4 UC en0
Troll-Toll.local 0:17:f2:e2:58:94 UHLW en0
Macintosh-85.local 0:1b:63:1c:57:e0 UHLW en0
Macintosh-9.local 0:1b:63:95:d2:64 UHL lo0
Chicken-Wang.local 0:1f:f3:f4:7b:b4 UHLW en0
fe80::9ba:d2e0:919 0:1b:24:3f:f5:fe UHLW en0
Brandon-PC.local 0:22:15:8a:5a:89 UHLW en0
ff01:: localhost U lo0
ff02:: localhost UC lo0
ff02:: link#4 UC en0
Any ideas? Is my comp being hacked?
Help.
Asif
install little snitch from obdev it will alert you to any unauthorised outgoing connections on your mac. Also is your firewall enabled? Are you behind a router? Do you have WPA encryption on your wireless network?
Similar Messages
-
Connection Failed--can anyone understand Netstat routing info?
Folks:
Been chasing the problem of trying to get my two listed computers to connect by ethernet/Connect to Server with AFP and entering the IP address manually--which worked in 10.3.9. With 10.4.6 -- to 4.9 so far none of the Tiger OS are able to do that. I've rolled the AppleFile Server kext back to 4.8 and tried all the previous versions loaded onto an Ext HD &&& I finally ran AppleJack . . . and nothing, NADA, Nichts!! The two units "see" each other and log in window opens with my correct user name and I enter the password --the spinning beachball and then "Connection failed" or "Log iN failed" --"check the IP address and try again" but I'm looking at the DHCP generated number in the other computer . . . .
Saw That Phil Smith.com gave suggestion that perhaps this is a routing table?? problem and to run Netstat--so I ran it in my Tiger based iBook with the "Display routing table info" button checked--but I don't know what any of it might mean. Any ideas?
Routing tables
Internet:
Destination Gateway Flags Refs Use Netif Expire
default link#4 UCSc 2 0 en0
127 localhost UCS 0 0 lo0
localhost localhost UH 9 2580 lo0
169.254 link#4 UCS 1 0 en0
169.254.72.26 0:3:93:78:c3:5a UHLW 0 14 en0 846
169.254.254.4 localhost UHS 0 0 lo0
Internet6:
Destination Gateway Flags Netif Expire
localhost link#1 UHL lo0
localhost Uc lo0
localhost link#1 UHL lo0
link#4 UC en0
macintosh-2.local 0:a:95:b6:1:a6 UHL lo0
ff01:: localhost U lo0
ff02::%lo0 localhost UC lo0
ff02::%en0 link#4 UC en0
thanks,
eepCam:
Back at the ranchito--plugged the two units together by ethernet port and then ran "ifconfig -a" and will post the results from both machines below. In this example using panther I would have entered 169.254.219.28 into ConnectServer window of my iBook; I'm looking at that number in the iMac in Network/Built-in ENet/configure--Using DHCP/IP address (the #) and under that it says "provided by DHCP server" click "connect" I get a window that shows my user name, enter password. Before, I'd be INNNNN--now I get FAILLLLLLL.
The iBook running 10.4.9 shows:
ifconfig -a
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
inet 127.0.0.1 netmask 0xff000000
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1
gif0: flags=8010<POINTOPOINT,MULTICAST> mtu 1280
stf0: flags=0 mtu 1280
en0: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500
inet6 fe80::20a:95ff:feb6:1a6%en0 prefixlen 64 scopeid 0x4
inet 169.254.254.4 netmask 0xffff0000 broadcast 169.254.255.255
ether 00:0a:95:b6:01:a6
media: autoselect (100baseTX <full-duplex>) status: active
supported media: none autoselect 10baseT/UTP <half-duplex> 10baseT/UTP <full-duplex> 10baseT/UTP <full-duplex,hw-loopback> 100baseTX <half-duplex> 100baseTX <full-duplex> 100baseTX <full-duplex,hw-loopback>
en1: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500
ether 00:0d:93:82:da:29
media: autoselect (<unknown type>) status: inactive
supported media: autoselect
fw0: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 2030
lladdr 00:0a:95:ff:fe:b6:01:a6
media: autoselect <full-duplex> status: inactive
supported media: autoselect <full-duplex>
Macintosh-2:~
The iMac shows this:
ifconfig -a
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
inet 127.0.0.1 netmask 0xff000000
en0: flags=8863<UP,BROADCAST,b6,RUNNING,SIMPLEX,MULTICAST> mtu 1500
inet 192.168.2.1 netmask 0xffffff00 broadcast 192.168.2.255
inet 169.254.219.28 netmask 0xffff0000 broadcast 169.254.255.255
ether 00:03:93:78:c3:5a
media: autoselect (100baseTX <full-duplex>) status: active
supported media: none autoselect 10baseT/UTP <half-duplex> 10baseT/UTP <half-duplex,hw-loopback> 10baseT/UTP <full-duplex> 10baseT/UTP <full-duplex,hw-loopback> 100baseTX <half-duplex> 100baseTX <half-duplex,hw-loopback> 100baseTX <full-duplex> 100baseTX <full-duplex,hw-loopback>
en1: flags=8863<UP,BROADCAST,b6,RUNNING,SIMPLEX,MULTICAST> mtu 1500
ether 00:30:65:0f:f6:48
media: autoselect (<unknown type>) status: inactive
supported media: autoselect
[localhost:~]
thanks,
eep -
I have a server with Intel 82576 Gigabit Dual Port Nics. I have configured them to use iSCSI boot the primary looks to 10.0.0.1/24 and the secondary looks to 10.0.1.1/24. The target is configured correctly. Everything boots as expected.
I have added the MPIO feature and configured MPIO for the iscsi initiator as per: http://blogs.technet.com/b/migreene/archive/2009/08/29/3277914.aspx.
My issue is that the iSCSI networks show up in the routing table like so:
I did not configure a default route in the Intel setup utility:
I tried to explicitly remove the 0.0.0.0 entry and leave blank, with no change. As you can see with the above routing table traffic attempts to travel over these routes:
C:\Users\Administrator>ping google.com
Pinging google.com [209.85.145.99] with 32 bytes of data:
Reply from 10.0.0.201: Destination host unreachable.
Reply from 10.0.1.201: Destination host unreachable.
Reply from 209.85.145.99: bytes=32 time=23ms TTL=51
Reply from 209.85.145.99: bytes=32 time=22ms TTL=51
Ping statistics for 209.85.145.99:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
A ping to the outside world first attempts on 10.0.0.x/24 network, then on 10.0.1.x/24 network and then finally on the network the traffic should go over. I don't want my iSCSI traffic to ever show up with a default route. How do I get rid of it?
route delete 0.0.0.0 mask 0.0.0.0 "on-link" results in: The route deletion failed: The parameter is incorrect.
route delete 0.0.0.0 mask 0.0.0.0 on-link results in: The route deletion failed: The parameter is incorrect.
route delete 0.0.0.0 deletes all default routes, then I have to add back in the "valid default route" of 192.168.100.6.
I would like to not have to do a route delete though.So I've sort of given up on fixing the gateway assignment in the route for iSCSI boot. I configured a DHCP server to give out the information required by iSCSI boot and configured the network cards to use DHCP for their configuration. I insured
that my DHCP server gave out no default gateway entry. However, I still got the undesired routes in the routing table. This makes me assume that there isn't a "fix" for it, only the workaround.
Here is the script I run on each iSCSI Boot initiator (you would obviously change the ip number to suit your environment):
@Echo off
Rem fixes iscsi route problem as shown below:
Rem IPv4 Route Table
REM ===========================================================================
REM Active Routes:
REM Network Destination Netmask Gateway Interface Metric
REM 0.0.0.0 0.0.0.0 On-link 10.0.0.200 10255
REM 0.0.0.0 0.0.0.0 On-link 10.0.1.200 266
REM 0.0.0.0 0.0.0.0 192.168.100.6 192.168.100.98 266
REM The top 2 lines are on the iscsi interface and traffic tries to go out it
REM We need to delete the routes, so we'll just delete all gateway routes and
REM add back in the one we care about.
route delete 0.0.0.0 >c:\iscsibootroutefix.log
route -p add 0.0.0.0 mask 0.0.0.0 192.168.100.6 >>c:\iscsibootroutefix.log
After running it I get:
IPv4 Route Table
===========================================================================
Active Routes:
Network Destination Netmask Gateway Interface Metric
0.0.0.0 0.0.0.0 192.168.100.6 192.168.100.98 11
10.0.0.0 255.255.255.0 On-link 10.0.0.200 10255
10.0.0.1 255.255.255.255 On-link 10.0.0.200 10255
10.0.0.200 255.255.255.255 On-link 10.0.0.200 10255
Then I added a task in “task scheduler” of "administrative tools" that ran as the user “system” “when the computer starts” that runs this script. -
"Cloned" en0 (hardwired Ethernet) in MacBook Pro Routing table -- how to remedy ?
I have noticed a "cloned" en0 (hardwired Ethernet) in my MacBook Pro's routing-table under Mavericks .
Instead of listing the IPv4-address, in the Terminal's "netstat -nr" command, the cloned-en0 lists "<Link#4>" .
I'm in the U.S., but currently the link translates to a U.K. IP-address .
What is going-on ?My "netstat -nr" readout -- the MAC-address has been edited :
Routing tables
Internet:
Destination Gateway Flags Refs Use Netif Expire
default 172.16.0.254 UGSc 39 0 en0
127 127.0.0.1 UCS 0 0 lo0
127.0.0.1 127.0.0.1 UH 4 112977 lo0
169.254 link#4 UCS 0 0 en0
172.16 link#4 UCS 1 0 en0
172.16.0.254 xx:xx:xx:xx:xx:xx UHLWIir 40 554 en0 1130
172.16.1.10 127.0.0.1 UHS 0 0 lo0
Internet6:
Destination Gateway Flags Netif Expire
::/64 link#4 UC en0
::1 ::1 UHL lo0
2404:6800:4001:802::101f link#4 UHW3I en0 372
2600:807:320:202:8800::c77 link#4 UHW3I en0 341
2600:807:320:202:8a00::eed link#4 UHW3I en0 357
2600:807:320:202:8f00::236 link#4 UHW3I en0 358
2600:807:320:202:9800::c77 link#4 UHW3I en0 341
2600:807:320:202:9d00::236 link#4 UHW3I en0 358
2600:807:320:202:9d00::eed link#4 UHW3I en0 357
2600:1400:a::1743:fa8b link#4 UHW3I en0 365
2607:f8b0:4004:801::1017 link#4 UHW3I en0 381
2607:f8b0:4004:802::1000 link#4 UHW3I en0 351
2607:f8b0:4004:802::1004 link#4 UHW3I en0 352
2607:f8b0:4004:802::1005 link#4 UHW3I en0 363
2607:f8b0:4004:802::100b link#4 UHW3I en0 361
2607:f8b0:4004:802::1018 link#4 UHW3I en0 362
2607:f8b0:4004:803::1003 link#4 UHW3I en0 354
2607:f8b0:4004:803::100a link#4 UHW3I en0 364
2607:f8b0:4004:808::1000 link#4 UHW3I en0 359
2607:f8b0:4004:808::101e link#4 UHW3I en0 352
2607:f8b0:4004:809::1000 link#4 UHW3I en0 359
2607:f8b0:4004:809::1005 link#4 UHW3I en0 368
2607:f8b0:4004:809::1006 link#4 UHW3I en0 367
2607:f8b0:4004:809::1008 link#4 UHW3I en0 357
2607:f8b0:4004:809::1018 link#4 UHW3I en0 367
2607:f8b0:4004:809::1019 link#4 UHW3I en0 359
2607:f8b0:4009:801::1011 link#4 UHW3I en0 360
2607:f8b0:400d:c03::54 link#4 UHW3I en0 364
2607:f8b0:400d:c03::5f link#4 UHW3I en0 360
2620:101:8008:5::2:1 link#4 UHW3I en0 351
2a03:2880:f003:b01:face:b00c::1 link#4 UHW3I en0 363
fe80::%lo0/64 fe80::1%lo0 UcI lo0
fe80::1%lo0 link#1 UHLI lo0
fe80::%en0/64 link#4 UCI en0
fe80::21b:63ff:fea5:b71f%en0 0:1b:63:a5:b7:1f UHLI lo0
ff01::%lo0/32 ::1 UmCI lo0
ff01::%en0/32 link#4 UmCI en0
ff02::%lo0/32 ::1 UmCI lo0
ff02::%en0/32 link#4 UmCI en0 -
How to stop windows ipv6 route table auto-update
In ipv6 , windows xp can get one global ipv6-address. how to delete the address and del the route in route table persistent? And stop route table auto update?
The WsusContent folder is filled with 256 folders that are two-characters long (e.g. 00, 0A, 0B, etc), and each of those folders are filled with exe and cab files all with what appears to be a GUID as a filename.
Currently the C:\Program Files\Update Services\WsusContent folder is 27.5GB in size with 256 folders and 15,361 files.
Classifications are confirmed matching exactly when viewed from either the WSUS console or the Software Update Point Component Properties on the CAS server:
Critical Updates
Definition Updates
Security Updates
Service Packs
Update Rollups
Updates
Product selection is confirmed matching exactly when viewed from either the WSUS console or the Software Update Point Component Properties on the CAS server:
Developer Tools (VS 2005 - 2013, etc)
Exchange 2007, 2010, 2013
Forefront Endpoint Protection 2010, TMG Definition Updates for HTTP Malware and NIS, TMG, TMG Firewall Client
BitLocker Admin
Lync 2010, Lync Server 2010 and 2013
System Center DPM 2006 and 2010
Office Dictionary updates, new dictionaires, XP, 2003, 2007, 2010, 2013
Silverlight
SQL Server 2012, 2000, 2005, 2008, 2008 R2, 2012, feature pack
System Center 2012 (all), 2012 R2 (all), 2012 SP1 (all)
Windows (all except EU browser choice and graphics drivers for 8.1 upgrade)
Admittedly we could update that list a bit, but it sounds like you don't think there should be any content downloading to the WsusContent folder at all? -
Multiple routing tables and/or policy routing
Hey all,
I'm trying to configure a Mac Mini (10.8) for multiple routing tables and policy routing. This server runs Ostinato, a freeware traffic generator. My purpose is to generate traffic on multiple VLANs towards different gateways and different destinations. To that end, I have VLAN tagged the (only) Ethernet port and configured 5 VLANs on it. The first one has the default route (I manage this Mac over this VLAN). The other four have IP addresses in the test range I'm using.
The goal is to have traffic sourced from IP-address-X go out vlanX towards gateway-X. It's counterpart on the far end runs Linux and I have configured it in this way:
ip route add default via <gateway-X> dev ethX table X
ip rule add from <network-X> table X priority X
Researching on OpenBSD forums (since it's the base of MacOS X), provided this:
route -T X add 0.0.0.0/0 -iface <gateway-X>
echo pass in from <network-X> to 0.0.0.0/0 rtable X | pfctl -mf -
However, the Mountain Lion "route" command does not support the -T option, so that killed that idea. Another forum suggested that this would have worked on 10.4:
ipfw add X fwd <gateway-X> ip from <IP-address-X> to any
I tried this on 10.8 though the man page says it's deprecated, and (surprise, surprise) it did not work.
Any ideas to get this working appreciated!
Thanks,
AaronStill doesn't have it in 10.9.4.
irene:~ cschwartz$ sudo bash
bash-3.2# route -T add
route: illegal option -- T
usage: route [-dnqtv] command [[modifiers] args]
I'm guessing you want policy-based routing due to VLANs...? If you can get a USB-to-Ethernet adapter, then maybe you can work around this by using multiple physical links instead of VLAN tagging. But if you need source-based routing etc. then no. -
I have a Linksys RT31P2 wired VoIP router that connects to my cable modem directly. Since there are more than 3 computers that link up to the internet in my house I have connected a Netgear FS105 5 port switch which all of the computers on my network connect to. I have had this setup for about 4 years now and it has been working fine until recently. I noticed that my connection was slowing down and wierd things were happening like links popping back to the page the link was on instead of the link itself and super long periods between page refreshes. So out of the blue I log into the router admin space and have a look around, nothing unusual. I open the routing table and I was surprised to see all of these strange Ip's, complete with their own subnet masks and default gateways. Also, all of them had a hop count of 165. The ip addresses resolved to several different ISP's in the sout eastern part of the country. Turning the router off and then back on clears all of these out but within a few days they are back. I have checked all of the computers in the network but have found nothing out of the ordinary. What is going on here? I didn't think that an attacker could come through the router firewall on a wired router but if hackers can get into top government networks, I guess they could get through a simple router. The following link is to a pic of the routing table with all of the strange entries. Anybody ever experience this and if so, what was done to prevent it from happening? Thanks.
Message Edited by LH1966 on 07-29-2008 09:07 PMI'm not sure I follow exactly. Are you saying a firewall between the router and modem? Doesn't the router already have one in place and is there such a thing as a firewall box that goes between devices like that? Somebody told me that this might have been due to p2p sites like Limewire or Bearshare, neither of which my wife nor myself use. My daughter has used Limeware but not much from what she says. I don't know but I really would like to fix this for good.
-
Strange behavior in a table with dropTarget and delete action
I am having a strange behavior in a table with drag and drop and action component to delete row.
Steps:
Drag the first row to the table and appears in the destination table (works well)
Select and change the value by 156, appears an error (works fine)
delete the row, the row disappears (works well)
Add the first row again and the value is 156 instead of 158 (why ????)
I guess the error is the deletion that is not correct, but do not know how?
Can anyone help?
I add the source code if you see where I'm wrong
Java class:
+public class BeanExample {+
private ArrayList<RowExample> starttValues;
private ArrayList<RowExample> endValues;
+public BeanExample() {+
super();
+}+
+public void setStarttValues(ArrayList<BeanExample.RowExample> starttValues) {+
this.starttValues = starttValues;
+}+
+public ArrayList<BeanExample.RowExample> getStarttValues() {+
+if (starttValues == null) {+
starttValues = new ArrayList<BeanExample.RowExample>();
starttValues.add(new RowExample("1", new Number(158)));
starttValues.add(new RowExample("21", new Number(12565464)));
+}+
return starttValues;
+}+
+public void setEndValues(ArrayList<BeanExample.RowExample> endValues) {+
this.endValues = endValues;
+}+
+public ArrayList<BeanExample.RowExample> getEndValues() {+
+if (endValues == null) {+
endValues = new ArrayList<BeanExample.RowExample>();
+}+
return endValues;
+}+
+public void validatorExample(FacesContext facesContext, UIComponent uIComponent, Object object) {+
Number number = (Number)object;
+if ((number.longValue() % 2) == 0) {+
FacesMessage message = new FacesMessage(FacesMessage.SEVERITY_ERROR, "ES PAR", "ES PAR");
throw new ValidatorException(message);
+}+
+}+
+public DnDAction handleDrop(DropEvent dropEvent) {+
Transferable transferable = dropEvent.getTransferable();
DataFlavor<RowKeySet> rowKeySetFlavor = DataFlavor.getDataFlavor(RowKeySet.class, "loteDrag");
RowKeySet rowKeySet = transferable.getData(rowKeySetFlavor);
+if (rowKeySet != null) {+
CollectionModel dragModel = transferable.getData(CollectionModel.class);
+if (dragModel != null) {+
Object currKey = rowKeySet.iterator().next();
dragModel.setRowKey(currKey);
RowExample table = (RowExample)dragModel.getRowData();
getEndValues().add(new RowExample(table.getId(), table.getValue()));
return dropEvent.getProposedAction();
+}+
+}+
return DnDAction.NONE;
+}+
+public void borrarFila(ActionEvent actionEvent) {+
endValues.remove(0); RequestContext.getCurrentInstance().addPartialTarget(FacesContext.getCurrentInstance().getViewRoot().findComponent("pc1:t2"));
+}+
+public static class RowExample {+
private String id;
private Number value;
+public RowExample(String id, Number value) {+
super();
this.id = id;
this.value = value;
+}+
+public void setId(String id) {+
this.id = id;
+}+
+public String getId() {+
return id;
+}+
+public void setValue(Number value) {+
this.value = value;
+}+
+public Number getValue() {+
return value;
+}+
+}+
+}+JSF
+<?xml version='1.0' encoding='windows-1252'?>+
+<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"+
xmlns:f="http://java.sun.com/jsf/core"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
+<jsp:directive.page contentType="text/html;charset=windows-1252"/>+
+<f:view>+
+<af:document id="d1">+
+<af:form id="f1">+
+<af:panelGroupLayout id="pgl1">+
+<af:table value="#{beanExample.starttValues}" var="row"+
rowBandingInterval="0" id="t1" rowSelection="single"
displayRow="selected" contentDelivery="immediate">
+<af:column sortable="false" headerText="Id" align="start" id="c2">+
+<af:outputText value="#{row.id}" id="ot1"/>+
+</af:column>+
+<af:column sortable="false" headerText="Value" align="start" id="c1">+
+<af:outputText value="#{row.value}" id="ot2"/>+
+</af:column>+
+<af:collectionDragSource actions="COPY" modelName="loteDrag"/>+
+</af:table>+
+<af:panelCollection id="pc1">+
+<f:facet name="toolbar" >+
+<af:toolbar id="dc_t2" >+
+<af:commandToolbarButton shortDesc="Delete"+
icon="/imagesDemo/delete_ena.png"
id="dc_ctb3" immediate="true"
+actionListener="#{beanExample.borrarFila}"/>+
+</af:toolbar>+
+</f:facet>+
+<af:table value="#{beanExample.endValues}" var="row"+
+rowBandingInterval="0" id="t2">+
+<af:column sortable="false" headerText="Id" align="start" id="c3">+
+<af:outputText value="#{row.id}" id="ot3"/>+
+</af:column>+
+<af:column sortable="false" headerText="Value" align="start" id="c4" >+
+<af:inputText value="#{row.value}" autoSubmit="true" id="it1" validator="#{beanExample.validatorExample}"/>+
+</af:column>+
+<af:collectionDropTarget actions="COPY" modelName="loteDrag"+
+dropListener="#{beanExample.handleDrop}"/>+
+</af:table>+
+</af:panelCollection>+
+</af:panelGroupLayout>+
+</af:form>+
+</af:document>+
+</f:view>+
+</jsp:root>+I think the problem is the validator
I changed the practical case, I added an InputText to enter new values in the first row.
+<af:inputText immediate="true" label="new value" id="it2"+
+valueChangeListener="#{beanExample.newvalue}" autoSubmit="true"/>+
+public void newvalue (ValueChangeEvent valueChangeEvent) {+
+String valor = (String)valueChangeEvent.getNewValue();+
+Number valorNumber=null;+
+try {+
+valorNumber = new Number (valor);+
+} catch (SQLException e) {+
+}+
+RowExample example = (RowExample) endValues.get(0);+
+example.setValue(valorNumber);+
+example.setId(valorNumber.toString());+
+RichTable table = (RichTable)FacesContext.getCurrentInstance().getViewRoot().findComponent(id);+
+RequestContext.getCurrentInstance().addPartialTarget(table);+
+}+
Case 1
I drag the first row to the target table (ok)
The new row appears (ok)
Enter the value 77 in the InputText (ok)
id content and value change (ok)
Case2
I drag the first row to the destination table
The new row appears (ok)
Change the value of the first row by 80 (ok)
errors appears (by validator) (ok)
Enter the value 77 in the InputText (ok)
the id is changed but the value NO (*KO*)
I do not understand the behavior
Edited by: josefuente on 27-oct-2010 16:03 -
Strange entries in WRT400N Routing Tables
I was trying to setup some static routes (unsuccessfully) when I noted some wierd entries in the routing table shown when clicking the "Show Routing Table" button in the Advanced Routing section of Setup. The entries are:
Destination LAN IP Subnet Mask Gateway Hop Count Interface
151.164.184.120 255.255.255.255 * 1 Internet (WAN)
192.168.207.0 255.255.255.0 192.168.207.1 1 LAN & Wireless
239.0.0.0 255.0.0.0 * 1 LAN & Wireless
127.0.0.0 255.0.0.0 192.168.207.1 1 LAN & Wireless
default 0.0.0.0 151.164.184.120 1 Internet (WAN)
I am concerned about the entries in bold format. The address 151.164.184.120 resolves to some area in Texas although I wasn't able to find more. Any idea what this could be? Should I be concerned?
Thanks.You have PPPoE connection. You are connected to the PPP server 151.164.184.120 at your ISP. The first route says that the 151.164.184.120 is connected to the WAN interface. The default route says that your internet connection goes to the PPP server of your ISP.
-
RV082 Router and Gateway?
Is there a way with the RV082 to configure routable IPs as additional subnets on the LAN site and have the device route to these from WAN to LAN in gateway mode? It obivously works fine in router mode but then private IPs don't function.
I have a server that requires a full public IP for SIP trunking (on a secondary NIC). I've tried 1-1 NAT and I get unexpected behavior like loss of call control anf one way audio.
I was thinking this could be accomplished by directly editing the routing table but with the public entry configured the table looks accurate automatically but doesn't route.
For now I have an RVS4000 behind the RV082 and have the RV082 in router mode with my block of IPs. I want to simplify the setup and see noticable speed increases when the RVS4000 is out of the equation.
-trevorThank you all for your help. I appreciate your answers.
I want to mention something I discovered that I did not pick up from the documentation. When setting up my Vonage telephone adapter for a static IP address, I thought I had to configure the adapter as well as the RV082. It turns out that I could leave the Vonage TA in DHCP mode and still enter an IP address (on the RV082 in load balancing mode) for a given mac address. This had the effect of reserving that IP address and assigning it to the Vonage TA every time it comes on line. Then I could use that IP address to select which WAN to use and what priority or speed. Very cool... :-)
Poul
^..^ -
Difference between sh ip bgp & sh ip route? BGP tables and main routing table.
Difference between sh ip bgp & sh ip route?
sh ip bgp :::: loc-rib ?
sh ip bgp nei x.x.x.x advertised-routes : adj-rib-in.
sh ip bgp nei x.x.x.x recieved-routes : adj-rib-out.
sh ip bgp nei x.x.x.x routes : loc-rib ?
sh ip route = rib ? if yes does it mean its loc-rib ?
so in a given router with bgp running, will there be 5 tables (sh ip bgp; adj-rib-in; loc-rib;adj-rib-out; sh ip route) ? if yes where are they saved ?sh ip bgp
shows the BGP table (where are stored info coming from BGP update)
sh ip bgp nei x.x.x.x advertised-routes
shows networks that your router will advertise to a specific neighbor
sh ip bgp nei x.x.x.x recieved-routes
shows advertisement received from a specific neighbor; networks (NLRI) filtered with route-map distribute-list,... are included (Inbound soft reconfiguration must be enabled)
sh ip bgp nei x.x.x.x routes
shows only routes sent by a specific neighbor and not filtered or discarded (i.s accepted)
sh ip route
show routing table; it contains the best route for each network (best is first of all the lowest administrative distance, then the lowest metric)
Bye,
enrico.
PS please rate if useful -
Troubleshooting with IOS BGP and IOS XR BGP - routing table Empty
Hi
actually we tried to make a neigborhood between ASR9000 and Cisco 7600, we have the neigborhood active but on routing tables from ASR only have the networks locals or connected doesn´t learn anything from BGP 7600
the diagram is this:
When try to know the routes on ASR9000 from Cisco 7609 happen the follow
the neighbor is UP from Cisco 7600 and ASR 9000 but the routing table is empty.
the config on cisco 7600 is:
router bgp 2006
neighbor 172.16.14.6 remote-as 64512
address-family ipv4
neighbor 172.16.14.6 activate
the config on cisco ASR9000 is:
router bgp 64512
bgp router-id 172.16.161.1
address-family ipv4 unicast
neighbor 172.16.14.5
remote-as 2006
address-family ipv4 unicast
Help us
Best RegardsAnother important one is the fact that in XR you need to have RPL policies (even if they only have a "pass-all" functionality) to accept inbound/outbound routes in eBGP.
Check the article on the asr9000 unequal cost multipath that has some sample BGP outputs and show command verifications that may help also.
If not the case, get us the XR config from the A9K side.
Also what does the bgp table on teh IOS side look like? as Richard suggests, there doesnt seem to be anything injected by the 7600 itself.
regards
xander
Xander Thuijs
Principal Engineer CCIE#6775, ASR9000 -
How Clean ip Route Table and configuration
How Clean ip Route Table and configuration?
Cisco have any best practice?Hey Juan,
your question is not very clear but i believe you want to know how to clean ip route table and configuration. So:
1. Cleaning IP routing table - clear ip route * - This will refersh the routing table.
2. Cleaning configuration - It depends on the device however in most of Cisco devices you may clear the startup configurtion and its done :)
HTH.
regards,
RS. -
Hello,
I can't find the right syntax to do what I need, if it's possible :
Context :
I work actualy on a migration from MS Access applications to Oracle (datas only). So I copied all MS Access Tables into Oracle and created manualy all the relationnal constraints like primary and foreign keys ('cause constraints are not included in 'Copy to Oracle').
I Have often to refresh my datas, because the MS access applications are still in use. Therefore I wrote PL/SQL scripts. They do the folowing, using dynamic SQL with 'Execute Immediate' statement :
Script 1
- disable all user's constraints
- disable all user's triggers
- truncate all user's tables
(Here, I have to do a manual copy of all MS Access tables to Oracle, checking the Append check-box, because the BRIDGE statement doesn't support 'Execute Immediate', and wait...)
Script 2
- enable all user's constraints
- enable all user's triggers
Could someone let me know how Il could do the same as :
For t in (select table_name from user_tables) loop
-- Copy the datas from an Access table into the same Oracle table
execute immediate ('BRIDGE ' || t.table_name || ' AS MyAccessConnName(select * from ' || t.table_name || ') APPEND') ;
-- News flash ...
dbms_output.put_line('Table ' || t.table_name || ' filled') ;
end loop;
-------------------------------------------------------------------------------------------------------------------------- ==> 00900. 00000 - "invalid SQL statement"
If a dynamic table name substitution is applicable in the Bridge statement from a query, I take it with joice!
Thank you for helping me...
DanielHi Daniel,
The BRIDGE statement is just an extra command I implemented in the SQL Developer worksheet script runner.
It gets interpreted by SQL Developer and it dynamically creates (CREATE TABLE , INSERT INTO , SELECT ... ) statements and runs them against the connections specified.
It was developed to improve certain migration features of SQL Developer. We haven't really spent any time developing it into a customer friendly statement to be used in custom scripts.
Hence the lack of doc. But it is there and if you can make it work for yourself all the better.
When I say "One way of doing what you want". I mean I haven't thought about your particular problem exhaustively and I wouldn't want you to take my solution as gospel :)
If you are happy running a script in SQL Developer, but would rather not run 2 scripts , or cut and paste results around, you could SPOOL the results and execute them.
--call your other scripts to disable constraints during the data move
set echo off;
set feedback off;
set linesize 1000;
set pagesize 0;
set headsep off;
set termout off;
set verify off;
set heading off;
SET PAGES 0;
SET HEAD OFF;
spool c:\mydynamicscript.sql
select 'BRIDGE ' || table_name || ' AS MyAccessConnName(select * from ' || table_name||');' from user_tables ;
spool off
@c:\mydynamicscript.sql
--call another script to enable your constraints again
Regards,
Dermot.
SQL Developer Team. -
Dhcp: default gateway not added if ip and gateway in different subnets
Hi! Help needed with Arch's DHCP client. (dhcpcd)
Assume that ISP leased ip 78.37.180.62/24 and gateway 78.37.0.1
On my home router when you plug cable, routing table is like this:
Destination Gateway Genmask Flags Metric Ref Use Iface
78.37.0.1 0.0.0.0 255.255.255.255 UH 0 0 0 eth0
78.37.180.0 0.0.0.0 255.255.255.0 U 202 0 0 eth0
0.0.0.0 78.37.0.1 0.0.0.0 UG 202 0 0 eth0
But on Arch it's much tinyer:
78.37.180.0 * 255.255.255.0 U 202 0 0 eth0
And no internet for me.
I've read that before adding a gateway you need to add a route to that gateway or you get an error: SIOCADDRT: No such process.
I believe this very error is what Arch's dhcp cliet gets when it tries to add the gateway.
Funny thing is if you manually add the route to the gateway, the gateway is auto-added in 5-10 sec.
# route add 78.37.0.1/32 dev eth0
# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
78.37.0.1 * 255.255.255.255 UH 0 0 0 eth0
78.37.180.0 * 255.255.255.0 U 202 0 0 eth0
# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
78.37.0.1 0.0.0.0 255.255.255.255 UH 0 0 0 eth0
78.37.180.0 0.0.0.0 255.255.255.0 U 202 0 0 eth0
0.0.0.0 78.37.0.1 0.0.0.0 UG 202 0 0 eth0
Where to dig? Are the routes added by some script that can be modified?
Last edited by leniviy (2009-05-23 20:22:52)also, until correct route is added, someone keeps logging to daemon.log:
May 23 21:27:22 IL dhcpcd: eth0: add_route: No such process
May 23 22:33:05 IL dhcpcd: eth0: send_raw_packet: Network is down
May 23 22:34:54 IL dhcpcd: eth0: add_route: No such process
May 23 22:35:09 IL dhcpcd: eth0: add_route: No such process
May 23 22:35:24 IL dhcpcd: eth0: add_route: No such process
May 23 22:35:39 IL dhcpcd: eth0: add_route: No such process
May 23 22:35:54 IL dhcpcd: eth0: add_route: No such process
May 23 22:36:09 IL dhcpcd: eth0: add_route: No such process
May 23 22:36:24 IL dhcpcd: eth0: add_route: No such process
Maybe you are looking for
-
How to connect Apple TV to Zone 2?
I am unable to listen to apple TV (2nd gen) through a zone 2 on my receiver (outside speakers). Any help/suggestions? I have an onkyo ht-6100 receiver. The current connection is HDMI from apple TV to reciever. Zone 1 works just fine (7.1). Zone
-
How to schedule a sql query on Windows
Hi Experts; I got a sql query that I need to put on schedule, (on windows) in order it runs everyday at specific time. I got the query, but I want to know the next: How to invoke SQLPlus from this query? Explain how to include the user/password@SID D
-
Language Text on print preview of PO
Hello All, I have created a purchase order that is based on a vendor with english as communication data and when checking print review the data is in german in PDF what we must check to resolve this issue. Regards. Zied.
-
I am using performance point services for Project Server / SharePoint 2013, I have developed Analytical reports, I was wondering how the calculated values could appear on the graph instead of the tool tip
-
I can't install the SAP NetWeaver 7.0 ABAP Trial Version! HELP!
can anyone help me ,when i install the SAP NetWeaver 7.0 ABAP Trial Version,it always clue on "The installer had to update some MicroSoft runtime libraries. For correct operation, a system reboot is required. Do you want to reboot now?" I have reboot